Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ebdee66

Browse files
committed
Remove SGML makefile .SECONDARY tag so html rules will work properly;
Documentation/comment improvements.
1 parent c0e977c commit ebdee66

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

doc/src/sgml/Makefile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
#
33
# PostgreSQL documentation makefile
44
#
5-
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.90 2007/01/10 19:06:04 momjian Exp $
5+
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.91 2007/01/11 00:02:39 momjian Exp $
66
#
77
#----------------------------------------------------------------------------
88

99
subdir = doc/src/sgml
1010
top_builddir = ../../..
1111
include $(top_builddir)/src/Makefile.global
1212

13-
.SECONDARY:
1413
.NOTPARALLEL:
1514

1615
ifndef COLLATEINDEX
@@ -97,13 +96,14 @@ ifeq ($(vpath_build), yes)
9796
@cp $(srcdir)/stylesheet.css .
9897
endif
9998
ifndef DRAFT
99+
# If not draft, re-run the this rule until HTML.index does not change
100100
@cmp -s HTML.index.start HTML.index || $(MAKE) $@
101101
endif
102102

103103

104104
COLLATEINDEX := LC_ALL=C $(PERL) $(COLLATEINDEX) -f -g
105105

106-
# The draft rule calls $(MAKE) again and sets the DRAFT variable.
106+
# The draft rule calls gmake again and sets the DRAFT variable.
107107
# This seems to be the only way to set gmake variables in a rule.
108108
draft:
109109
ifndef DRAFT
@@ -148,9 +148,8 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
148148

149149

150150
# RTF to allow minor editing for hardcopy
151-
152-
%.rtf: %.sgml $(ALLSGML) stylesheet.dsl
153-
$(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -t rtf -V rtf-backend -i output-print $<
151+
%.rtf: %.sgml $(ALLSGML) html
152+
$(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -t rtf -V rtf-backend -i output-print postgres.sgml
154153

155154
# TeX
156155
# Regular TeX and pdfTeX have slightly differing requirements, so we
@@ -192,7 +191,7 @@ JADE.tex.call = $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d $(srcdir)/styl
192191
# This generates an XML version of the flow-object tree. It's useful
193192
# for debugging DSSSL code, and possibly to interface to some other
194193
# tools that can make use of this.
195-
%.fot: %.sgml $(ALLSGML) stylesheet.dsl
194+
%.fot: %.sgml $(ALLSGML) html
196195
$(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -t fot -i output-print -o $@ $<
197196

198197

doc/src/sgml/docguide.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.64 2007/01/09 22:19:36 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.65 2007/01/11 00:02:39 momjian Exp $ -->
22

33
<appendix id="docguide">
44
<title>Documentation</title>
@@ -543,7 +543,7 @@ checking for sgmlspl... sgmlspl
543543

544544
<para>
545545
To create a proper index, the build might process several identical
546-
stages. If you do not care about an index, and just want to
546+
stages. If you do not care about the index, and just want to
547547
proof-read the output, use <literal>draft</>:
548548
<screen>
549549
<prompt>doc/src/sgml$ </prompt><userinput>gmake draft html</userinput>
@@ -552,7 +552,7 @@ checking for sgmlspl... sgmlspl
552552

553553
<para>
554554
To allow for easier handling in the final distribution, the files
555-
comprising the HTML documentation are stored in a tar archive that
555+
comprising the HTML documentation can be stored in a tar archive that
556556
is unpacked at installation time. To create the
557557
<acronym>HTML</acronym> documentation package, use the commands
558558
<programlisting>

0 commit comments

Comments
 (0)