Use option to jade to produce html file names from id field in tag.
This commit is contained in:
parent
64fbd1fb12
commit
32de56e817
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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
|
HDSL=$(HSTYLE)/docbook.dsl
|
||||||
PDSL=$(PSTYLE)/docbook.dsl
|
PDSL=$(PSTYLE)/docbook.dsl
|
||||||
|
|
||||||
|
# Options for DocBook style sheets
|
||||||
|
|
||||||
DBOPTS= -D ref
|
DBOPTS= -D ref
|
||||||
#DBOPTS+= -V %no-split-output% -V %no-make-index%
|
#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
|
TAR= tar
|
||||||
|
|
||||||
@ -87,8 +93,8 @@ distclean::
|
|||||||
%.html: %.sgml #$(HDSL)
|
%.html: %.sgml #$(HDSL)
|
||||||
(rm -rf *.htm)
|
(rm -rf *.htm)
|
||||||
jade $(DBOPTS) $(HTMLOPTS) -t sgml $<
|
jade $(DBOPTS) $(HTMLOPTS) -t sgml $<
|
||||||
(ln -sf book01.htm index.html)
|
(ln -sf $*.htm index.html)
|
||||||
(ln -sf book01.htm $*.html)
|
(ln -sf $*.htm $*.html)
|
||||||
|
|
||||||
# RTF to allow minor editing for hardcopy
|
# RTF to allow minor editing for hardcopy
|
||||||
# This is used for v6.3 docs
|
# This is used for v6.3 docs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user