Skip to content

Commit 125d516

Browse files
committed
In SGML Makefile, set proper targets for recursive calls.
1 parent a733d28 commit 125d516

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/src/sgml/Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# PostgreSQL documentation makefile
44
#
5-
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.88 2007/01/09 22:19:36 momjian Exp $
5+
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.89 2007/01/10 01:57:15 momjian Exp $
66
#
77
#----------------------------------------------------------------------------
88

@@ -96,7 +96,7 @@ ifeq ($(vpath_build), yes)
9696
@cp $(srcdir)/stylesheet.css .
9797
endif
9898
ifndef DRAFT
99-
@cmp -s HTML.index.start HTML.index || $(MAKE) $*
99+
@cmp -s HTML.index.start HTML.index || $(MAKE) $(MAKECMDGOALS)
100100
endif
101101

102102

@@ -107,7 +107,7 @@ ifndef DRAFT
107107
ifneq ($(MAKECMDGOALS), draft)
108108
# Call ourselves with the DRAFT value set. This seems to be the only
109109
# way to set gmake variables in a rule.
110-
@$(MAKE) DRAFT="Y" $(MAKECMDGOALS))
110+
@$(MAKE) DRAFT="Y" $(MAKECMDGOALS)
111111
else
112112
# run default 'all' rule
113113
@$(MAKE) DRAFT="Y" all
@@ -159,25 +159,25 @@ JADE.tex.call = $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d $(srcdir)/styl
159159
%-A4.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl bookindex.sgml
160160
$(JADE.tex.call) -V texdvi-output -V '%paper-type%'=A4 -o $@ $<
161161
ifndef DRAFT
162-
@cmp -s HTML.index.start HTML.index || $(MAKE) $*
162+
@cmp -s HTML.index.start HTML.index || $(MAKE) $@
163163
endif
164164

165165
%-US.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl bookindex.sgml
166166
$(JADE.tex.call) -V texdvi-output -V '%paper-type%'=USletter -o $@ $<
167167
ifndef DRAFT
168-
@cmp -s HTML.index.start HTML.index || $(MAKE) $*
168+
@cmp -s HTML.index.start HTML.index || $(MAKE) $@
169169
endif
170170

171171
%-A4.tex-pdf: %.sgml $(ALLSGML) stylesheet.dsl bookindex.sgml
172172
$(JADE.tex.call) -V texpdf-output -V '%paper-type%'=A4 -o $@ $<
173173
ifndef DRAFT
174-
@cmp -s HTML.index.start HTML.index || $(MAKE) $*
174+
@cmp -s HTML.index.start HTML.index || $(MAKE) $@
175175
endif
176176

177177
%-US.tex-pdf: %.sgml $(ALLSGML) stylesheet.dsl bookindex.sgml
178178
$(JADE.tex.call) -V texpdf-output -V '%paper-type%'=USletter -o $@ $<
179179
ifndef DRAFT
180-
@cmp -s HTML.index.start HTML.index || $(MAKE) $*
180+
@cmp -s HTML.index.start HTML.index || $(MAKE) $@
181181
endif
182182

183183
%.dvi: %.tex-ps

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy