Skip to content

Commit e55b1f9

Browse files
committed
Fix for parallel make
1 parent 6a67d9d commit e55b1f9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $Header: /cvsroot/pgsql/doc/Makefile,v 1.21 2001/08/29 19:14:39 petere Exp $
7+
# $Header: /cvsroot/pgsql/doc/Makefile,v 1.22 2002/02/06 20:29:35 petere Exp $
88
#
99
#----------------------------------------------------------------------------
1010

@@ -45,15 +45,17 @@ sqlmansectnum = $(shell expr X'$(sqlmansect)' : X'\([0-9]\)')
4545

4646
all: man1/.timestamp man$(sqlmansectnum)/.timestamp
4747

48-
man1/.timestamp man$(sqlmansect_dummy)/.timestamp: man.tar.gz
48+
man1/.timestamp: man$(sqlmansect_dummy)/.timestamp
49+
@echo timestamp >$@
50+
51+
man$(sqlmansect_dummy)/.timestamp: man.tar.gz
4952
gzip -d -c $< | $(TAR) xf -
5053
for file in man1/*.1; do \
5154
mv $$file $$file.bak && \
5255
sed -e 's/\\fR($(sqlmansect_dummy))/\\fR($(sqlmansectnum))/' $$file.bak >$$file && \
5356
rm $$file.bak || exit; \
5457
done
55-
@echo timestamp >man1/.timestamp
56-
@echo timestamp >man$(sqlmansect_dummy)/.timestamp
58+
@echo timestamp >$@
5759

5860
man$(sqlmansectnum)/.timestamp: man$(sqlmansect_dummy)/.timestamp
5961
$(mkinstalldirs) man$(sqlmansectnum)

0 commit comments

Comments
 (0)