File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
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 $
8
8
#
9
9
# ----------------------------------------------------------------------------
10
10
@@ -45,15 +45,17 @@ sqlmansectnum = $(shell expr X'$(sqlmansect)' : X'\([0-9]\)')
45
45
46
46
all : man1/.timestamp man$(sqlmansectnum ) /.timestamp
47
47
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
49
52
gzip -d -c $< | $(TAR ) xf -
50
53
for file in man1/* .1; do \
51
54
mv $$ file $$ file.bak && \
52
55
sed -e ' s/\\fR($(sqlmansect_dummy))/\\fR($(sqlmansectnum))/' $$ file.bak > $$ file && \
53
56
rm $$ file.bak || exit ; \
54
57
done
55
- @echo timestamp > man1/.timestamp
56
- @echo timestamp > man$(sqlmansect_dummy ) /.timestamp
58
+ @echo timestamp > $@
57
59
58
60
man$(sqlmansectnum ) /.timestamp : man$(sqlmansect_dummy ) /.timestamp
59
61
$(mkinstalldirs ) man$(sqlmansectnum )
You can’t perform that action at this time.
0 commit comments