aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2002-02-06 20:29:35 +0000
committerPeter Eisentraut <peter_e@gmx.net>2002-02-06 20:29:35 +0000
commite55b1f984edab45041cfd83dc7a1e6684e0f927f (patch)
tree28f04d1e9ccb54dec5b1f83c6270ee63bfe39518
parent6a67d9def0de96d6288be1fa9e4b2fc3b753cada (diff)
downloadpostgresql-e55b1f984edab45041cfd83dc7a1e6684e0f927f.tar.gz
postgresql-e55b1f984edab45041cfd83dc7a1e6684e0f927f.zip
Fix for parallel make
-rw-r--r--doc/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 341f473d0dc..555e0056c43 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $Header: /cvsroot/pgsql/doc/Makefile,v 1.21 2001/08/29 19:14:39 petere Exp $
+# $Header: /cvsroot/pgsql/doc/Makefile,v 1.22 2002/02/06 20:29:35 petere Exp $
#
#----------------------------------------------------------------------------
@@ -45,15 +45,17 @@ sqlmansectnum = $(shell expr X'$(sqlmansect)' : X'\([0-9]\)')
all: man1/.timestamp man$(sqlmansectnum)/.timestamp
-man1/.timestamp man$(sqlmansect_dummy)/.timestamp: man.tar.gz
+man1/.timestamp: man$(sqlmansect_dummy)/.timestamp
+ @echo timestamp >$@
+
+man$(sqlmansect_dummy)/.timestamp: man.tar.gz
gzip -d -c $< | $(TAR) xf -
for file in man1/*.1; do \
mv $$file $$file.bak && \
sed -e 's/\\fR($(sqlmansect_dummy))/\\fR($(sqlmansectnum))/' $$file.bak >$$file && \
rm $$file.bak || exit; \
done
- @echo timestamp >man1/.timestamp
- @echo timestamp >man$(sqlmansect_dummy)/.timestamp
+ @echo timestamp >$@
man$(sqlmansectnum)/.timestamp: man$(sqlmansect_dummy)/.timestamp
$(mkinstalldirs) man$(sqlmansectnum)