From fc76a6aa19af9606f260993811ac0dee8ec4e886 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 1 Jun 2000 15:29:01 +0000 Subject: Patch rtemsdoc-4.5.0-rc-8.diff from Ralf Corsepius . Ralf's comments follow: Changes: * Enhanced versioning: - Addition of automake's version.texi support - Replacement of rtemsdoc's former versioning support by automake's versioning support (Abandoning RTEMS-UPDATE-* etc.) - Abandoning setup.texi.in - Add EDITION to each documents Makefile.am - version.texi support in project.am - Addition of maintainer mode (currently only used to prevent incorrectly updating timestamps when users touch automake's version.texi timestamp files (stamp-vti)). * Fixing info dir support - Use texinfo's @dircategory and @direntry instead of infos *-DIR-ENTRY - $(infodir)/dir is now correctly set up * Avoid using temporary files - Pipe texts through REPLACE2 into BMENU2 instead of using temporary files. - Abandon using bmenu in favor of bmenu2 (bmenu could be removed now) * Prepare Makefile.ams for building in a separate buildtree - prefix files with $(srcdir) in Makefile.am for files which must be generated inside of the source tree Notes: * rtemsdoc can not yet be build in a separate source-tree, but we are very close to it. * You as the maintainer of this package now should always use --enable-maintainer-mode to configure rtemsdoc. --- doc/develenv/.cvsignore | 1 + doc/develenv/Makefile.am | 11 +++++------ doc/develenv/develenv.texi | 26 ++++++++++---------------- doc/develenv/stamp-vti | 3 +++ doc/develenv/version.texi | 3 +++ 5 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 doc/develenv/stamp-vti create mode 100644 doc/develenv/version.texi (limited to 'doc/develenv') diff --git a/doc/develenv/.cvsignore b/doc/develenv/.cvsignore index 5b0027bee7..ec85f13218 100644 --- a/doc/develenv/.cvsignore +++ b/doc/develenv/.cvsignore @@ -15,3 +15,4 @@ develenv.toc develenv.tp develenv.vr index.html +mdate-sh diff --git a/doc/develenv/Makefile.am b/doc/develenv/Makefile.am index 29c4c0e31e..f5f463e18c 100644 --- a/doc/develenv/Makefile.am +++ b/doc/develenv/Makefile.am @@ -6,17 +6,16 @@ # $Id$ # -AUTOMAKE_OPTIONS = foreign +AUTOMAKE_OPTIONS = foreign 1.4 -PROJECT=develenv +PROJECT = develenv +EDITION = 1 include $(top_srcdir)/project.am -COMMON_FILES = $(top_srcdir)/common/cpright.texi - FILES = compile.texi direct.texi intro.texi sample.texi utils.texi -GENERATED_FILES = +COMMON_FILES = $(top_srcdir)/common/setup.texi $(top_srcdir)/common/cpright.texi info_TEXINFOS = develenv.texi -develenv_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES) +develenv_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES) diff --git a/doc/develenv/develenv.texi b/doc/develenv/develenv.texi index 330d68591b..33bf4fedfa 100644 --- a/doc/develenv/develenv.texi +++ b/doc/develenv/develenv.texi @@ -25,17 +25,16 @@ @c 2. Why does paragraphindent show up in HTML? @c +@include version.texi @include ../common/setup.texi -@ignore -@ifinfo -@format -START-INFO-DIR-ENTRY -* RTEMS C User: (develenv). The C User's Guide -END-INFO-DIR-ENTRY -@end format -@end ifinfo -@end ignore +@ifset use-ascii +@dircategory RTEMS On-Line Manual +@direntry +* RTEMS Development Environment Guide: (develenv). +@end direntry +@end ifset + @c variable substitution info: @c @@ -48,11 +47,6 @@ END-INFO-DIR-ENTRY @c Title Page Stuff @c -@set edition @value{RTEMS-EDITION} -@set version @value{RTEMS-VERSION} -@set update-date @value{RTEMS-UPDATE-DATE} -@set update-month @value{RTEMS-UPDATE-MONTH} - @c @c I don't really like having a short title page. --joel @c @@ -64,9 +58,9 @@ END-INFO-DIR-ENTRY @finalout @title RTEMS Development Environment Guide -@subtitle Edition @value{edition}, for RTEMS @value{version} +@subtitle Edition @value{EDITION}, for RTEMS @value{VERSION} @sp 1 -@subtitle @value{update-month} +@subtitle @value{UPDATED} @author On-Line Applications Research Corporation @page @include ../common/cpright.texi diff --git a/doc/develenv/stamp-vti b/doc/develenv/stamp-vti new file mode 100644 index 0000000000..27e5ccd0cb --- /dev/null +++ b/doc/develenv/stamp-vti @@ -0,0 +1,3 @@ +@set UPDATED 1 June 2000 +@set EDITION 1 +@set VERSION 4.5.0-beta3 diff --git a/doc/develenv/version.texi b/doc/develenv/version.texi new file mode 100644 index 0000000000..27e5ccd0cb --- /dev/null +++ b/doc/develenv/version.texi @@ -0,0 +1,3 @@ +@set UPDATED 1 June 2000 +@set EDITION 1 +@set VERSION 4.5.0-beta3 -- cgit v1.2.3