Re: Texinfo docs/target - Mailing list pgsql-docs

From Andreas Seltenreich
Subject Re: Texinfo docs/target
Date
Msg-id 87u02jzipu.fsf@gate450.dyndns.org
Whole thread Raw
In response to Re: Texinfo docs/target  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Texinfo docs/target
List pgsql-docs
Bruce Momjian writes:

> Patch applied.  Thanks.

Here's a small update to pass the basename of the target as a
stylesheet parameter.  This makes the resulting info file work
properly when compressed or split.  It also prevents Debian's
"install-info" script from choking.

Thanks,
andreas

Index: doc/src/sgml/Makefile
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/Makefile,v
retrieving revision 1.77
diff -u -r1.77 Makefile
--- doc/src/sgml/Makefile    3 Oct 2006 21:13:17 -0000    1.77
+++ doc/src/sgml/Makefile    5 Oct 2006 00:32:33 -0000
@@ -231,7 +231,7 @@
 MAKEINFO = makeinfo

 postgres.texixml: postgres.xml
-    $(DB2X_XSLTPROC) -s texi $< -o $@
+    $(DB2X_XSLTPROC) -s texi -g output-file=$(basename $@) $< -o $@

 postgres.texi: postgres.texixml
     $(DB2X_TEXIXML) --encoding=iso-8859-1//TRANSLIT $< \

pgsql-docs by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] timestamptz alias
Next
From: Bruce Momjian
Date:
Subject: Re: Texinfo docs/target