Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas G. Lockhart1998-07-29 06:29:04 +0000
committerThomas G. Lockhart1998-07-29 06:29:04 +0000
commit32de56e8174e0537f782a88e9df766d76ea4cbbb (patch)
treeaad1dc566fa244207b51d50fb2e8b3721374a7be /doc
parent64fbd1fb12a4783379b3f101d571381405d5126f (diff)
Use option to jade to produce html file names from id field in tag.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 24023ed13ca..3dab7d5cf7d 100644
--- a/doc/src/sgml/Makefile
+++ b/doc/src/sgml/Makefile
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.3 1998/05/13 05:33:30 thomas Exp $
+# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.4 1998/07/29 06:29:04 thomas Exp $
#
#----------------------------------------------------------------------------
@@ -29,8 +29,14 @@ PSTYLE=/usr/lib/sgml/stylesheets/jade/docbook/print
HDSL=$(HSTYLE)/docbook.dsl
PDSL=$(PSTYLE)/docbook.dsl
+# Options for DocBook style sheets
+
DBOPTS= -D ref
#DBOPTS+= -V %no-split-output% -V %no-make-index%
+# use-id-as-filename picks up the "Id=" fields to use as file names.
+# If this is omitted then file names are generic "c01.htm"
+# as in v6.3 documentation. Yuck.
+DBOPTS+= -V %use-id-as-filename%
TAR= tar
@@ -87,8 +93,8 @@ distclean::
%.html: %.sgml #$(HDSL)
(rm -rf *.htm)
jade $(DBOPTS) $(HTMLOPTS) -t sgml $<
- (ln -sf book01.htm index.html)
- (ln -sf book01.htm $*.html)
+ (ln -sf $*.htm index.html)
+ (ln -sf $*.htm $*.html)
# RTF to allow minor editing for hardcopy
# This is used for v6.3 docs