[patch] Info format for gnue-appserver/doc

"Aaron S. Hawley" <[email protected]> Wed, 30 Apr 2008 14:58:26 -0400
Newsgroups gmane.comp.gnu.enterprise.devel
Message-ID <[email protected]>
Another pretty insignificant patch.

I wanted the Texinfo documentation that ships with gnue-appserver to
be compiled and installed into the system's Info manual.  Here were
some changes I made to the Texinfo source files and the Makefiles.

Index: doc/api/api.texi
===================================================================
--- doc/api/api.texi	(revision 9872)
+++ doc/api/api.texi	(working copy)
@@ -5,6 +5,11 @@
 @setcontentsaftertitlepage
 @syncodeindex tp fn

+@dircategory GNU Enterprise
+@direntry
+* Api: (api).   The GNU Enterprise Application Server
+@end direntry
+
 @c $Date$

 @c ----------------------------------------------------------------------------
@@ -67,7 +72,7 @@
 @end titlepage

 @c ----------------------------------------------------------------------------
-@node Top,                                                         Introduction
+@node Top,                                           Introduction, (dir), (dir)
 @c ----------------------------------------------------------------------------

 @menu
Index: doc/api/Makefile
===================================================================
--- doc/api/Makefile	(revision 9872)
+++ doc/api/Makefile	(working copy)
@@ -2,7 +2,7 @@
 MAIN=${DOC}.texi
 SOURCES=${MAIN}

-all: ${DOC}.txt ${DOC}.html ${DOC}.dvi ${DOC}.pdf ${DOC}.ps aux-clean
+all: ${DOC}.txt ${DOC}.html ${DOC}.dvi ${DOC}.pdf ${DOC}.ps
${DOC}.info aux-clean

 version.texi: ${SOURCES}
 	echo -n "@set UPDATED " > version.texi
@@ -30,6 +30,9 @@
 ${DOC}.ps: ${DOC}.dvi
 	dvips ${DOC} -o ${DOC}.ps

+${DOC}.info: ${MAIN} ${SOURCES} version.texi
+	LANG=C makeinfo ${MAIN}
+
 aux-clean:
 	rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.??s

Index: doc/devguide/devguide.texi
===================================================================
--- doc/devguide/devguide.texi	(revision 9872)
+++ doc/devguide/devguide.texi	(working copy)
@@ -4,6 +4,12 @@
 @include version.texi
 @setcontentsaftertitlepage

+@dircategory GNU Enterprise
+@direntry
+* Devguide: (devguide).   The GNU Enterprise Application Server
+@end direntry
+
+
 @c ----------------------------------------------------------------------------

 @ifnottex
@@ -63,7 +69,7 @@

 @c ----------------------------------------------------------------------------

-@node Top, Introduction
+@node Top, Introduction, (dir), (dir)

 @menu
 * Introduction::
Index: doc/devguide/Makefile
===================================================================
--- doc/devguide/Makefile	(revision 9872)
+++ doc/devguide/Makefile	(working copy)
@@ -2,7 +2,7 @@
 MAIN=${DOC}.texi
 SOURCES=$(shell ls [0-9][0-9]-*)

-all: ${DOC}.txt ${DOC}.html ${DOC}.dvi ${DOC}.pdf ${DOC}.ps aux-clean
+all: ${DOC}.txt ${DOC}.html ${DOC}.dvi ${DOC}.pdf ${DOC}.ps
${DOC}.info aux-clean

 version.texi: ${SOURCES}
 	echo -n "@set UPDATED " > version.texi
@@ -31,6 +31,9 @@
 ${DOC}.ps: ${DOC}.dvi
 	dvips ${DOC} -o ${DOC}.ps

+${DOC}.info: ${MAIN} ${SOURCES} version.texi
+	LANG=C makeinfo ${MAIN}
+
 aux-clean:
 	rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.??s

_______________________________________________
Gnue-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnue-dev
doc-info.diff (text/x-patch, 2.8 KB)
Index: doc/api/api.texi
===================================================================
--- doc/api/api.texi	(revision 9872)
+++ doc/api/api.texi	(working copy)
@@ -5,6 +5,11 @@
 @setcontentsaftertitlepage
 @syncodeindex tp fn
 
+@dircategory GNU Enterprise
+@direntry
+* Api: (api).   The GNU Enterprise Application Server
+@end direntry
+
 @c $Date$
 
 @c ----------------------------------------------------------------------------
@@ -67,7 +72,7 @@
 @end titlepage
 
 @c ----------------------------------------------------------------------------
-@node Top,                                                         Introduction
+@node Top,                                           Introduction, (dir), (dir)
 @c ----------------------------------------------------------------------------
 
 @menu
Index: doc/api/Makefile
===================================================================
--- doc/api/Makefile	(revision 9872)
+++ doc/api/Makefile	(working copy)
@@ -2,7 +2,7 @@
 MAIN=${DOC}.texi
 SOURCES=${MAIN}
 
-all: ${DOC}.txt ${DOC}.html ${DOC}.dvi ${DOC}.pdf ${DOC}.ps aux-clean
+all: ${DOC}.txt ${DOC}.html ${DOC}.dvi ${DOC}.pdf ${DOC}.ps ${DOC}.info aux-clean
 
 version.texi: ${SOURCES}
 	echo -n "@set UPDATED " > version.texi
@@ -30,6 +30,9 @@
 ${DOC}.ps: ${DOC}.dvi
 	dvips ${DOC} -o ${DOC}.ps
 
+${DOC}.info: ${MAIN} ${SOURCES} version.texi
+	LANG=C makeinfo ${MAIN}
+
 aux-clean:
 	rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.??s
 
Index: doc/devguide/devguide.texi
===================================================================
--- doc/devguide/devguide.texi	(revision 9872)
+++ doc/devguide/devguide.texi	(working copy)
@@ -4,6 +4,12 @@
 @include version.texi
 @setcontentsaftertitlepage
 
+@dircategory GNU Enterprise
+@direntry
+* Devguide: (devguide).   The GNU Enterprise Application Server
+@end direntry
+
+
 @c ----------------------------------------------------------------------------
 
 @ifnottex
@@ -63,7 +69,7 @@
 
 @c ----------------------------------------------------------------------------
 
-@node Top, Introduction
+@node Top, Introduction, (dir), (dir)
 
 @menu
 * Introduction::
Index: doc/devguide/Makefile
===================================================================
--- doc/devguide/Makefile	(revision 9872)
+++ doc/devguide/Makefile	(working copy)
@@ -2,7 +2,7 @@
 MAIN=${DOC}.texi
 SOURCES=$(shell ls [0-9][0-9]-*)
 
-all: ${DOC}.txt ${DOC}.html ${DOC}.dvi ${DOC}.pdf ${DOC}.ps aux-clean
+all: ${DOC}.txt ${DOC}.html ${DOC}.dvi ${DOC}.pdf ${DOC}.ps ${DOC}.info aux-clean
 
 version.texi: ${SOURCES}
 	echo -n "@set UPDATED " > version.texi
@@ -31,6 +31,9 @@
 ${DOC}.ps: ${DOC}.dvi
 	dvips ${DOC} -o ${DOC}.ps
 
+${DOC}.info: ${MAIN} ${SOURCES} version.texi
+	LANG=C makeinfo ${MAIN}
+
 aux-clean:
 	rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.??s