提交 32de56e8 编写于 作者: T Thomas G. Lockhart

Use option to jade to produce html file names from id field in tag.

上级 64fbd1fb
...@@ -8,7 +8,7 @@ ...@@ -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 ...@@ -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:: ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册