File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 11# Postgres documentation makefile
2- # $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.12 2000/09/05 18:45:38 petere Exp $
2+ # $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.13 2000/09/12 03:47:36 thomas Exp $
33
44subdir = doc/src
55top_builddir = ../..
66-include $(top_builddir ) /src/Makefile.global
77
88TAR = tar
9- GZIP = gzip
9+ ZIP = gzip
10+ ZIPSUFFIX = gz
1011TAREXCLUDE = --exclude=Makefile --exclude='*.sgml' --exclude=ref
1112
1213SRC = admin postgres programmer tutorial user
1314
14- TARGETS = $(SRC:%=%.tar.gz )
15+ TARGETS = $(SRC:%=%.tar.$( ZIPSUFFIX ) )
1516
1617.PRECIOUS :
1718.PHONY : install all sources clean distclean
1819
1920install :
2021 $(MAKE ) all
21- (mv -f * .gz ..)
22+ (mv -f * .$( ZIPSUFFIX ) ..)
2223
2324clean :
2425 $(MAKE ) -C sgml clean
@@ -29,7 +30,7 @@ distclean:
2930all : $(TARGETS )
3031
3132sources :
32- $(MAKE ) sources.tar.gz
33+ $(MAKE ) sources.tar.$( ZIPSUFFIX )
3334
3435sources.tar :
3536 ($( TAR) -cf $@ sgml graphics)
@@ -72,5 +73,6 @@ man.tar:
7273
7374# Compressed file
7475
75- % .gz : %
76- $(GZIP ) -f $<
76+ % .$(ZIPSUFFIX ) : %
77+ $(ZIP ) -f $<
78+
You can’t perform that action at this time.
0 commit comments