File tree Expand file tree Collapse file tree 3 files changed +14
-23
lines changed Expand file tree Collapse file tree 3 files changed +14
-23
lines changed Original file line number Diff line number Diff line change 11#
22# PostgreSQL top level makefile
33#
4- # $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.18 2001/04/08 17:28:10 petere Exp $
4+ # $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.19 2001/09/17 23:00:27 petere Exp $
55#
66
77subdir =
@@ -55,9 +55,6 @@ distdir := postgresql-$(VERSION)
5555dummy := =install=
5656garbage := =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
5757
58- GZIP := gzip
59- BZIP2 := bzip2
60-
6158dist: $(distdir).tar.gz
6259ifeq ($(split-dist), yes)
6360dist: postgresql-base-$(VERSION).tar.gz postgresql-docs-$(VERSION).tar.gz postgresql-opt-$(VERSION).tar.gz postgresql-test-$(VERSION).tar.gz
@@ -89,12 +86,6 @@ postgresql-opt-$(VERSION).tar: distdir
8986postgresql-test-$(VERSION).tar: distdir
9087 $(TAR) cf $@ $(distdir)/src/test
9188
92- %.gz: %
93- $(GZIP) -f --best $<
94-
95- %.bz2: %
96- $(BZIP2) -f $<
97-
9889distdir:
9990 -rm -rf $(distdir)* $(dummy)
10091 for x in `cd $(top_srcdir) && find . -name CVS -prune -o -print`; do \
@@ -112,7 +103,7 @@ distdir:
112103distcheck: $(distdir).tar.gz
113104 -rm -rf $(dummy)
114105 mkdir $(dummy)
115- gzip -d -c $< | $(TAR) xf -
106+ $(GZIP) -d -c $< | $(TAR) xf -
116107 install_prefix=`cd $(dummy) && pwd`; \
117108 cd $(distdir) \
118109 && ./configure --prefix="$$install_prefix"
Original file line number Diff line number Diff line change 11# Postgres documentation makefile
2- # $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.20 2001/09/14 20:37:54 petere Exp $
2+ # $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.21 2001/09/17 23:00:27 petere Exp $
33
44subdir = doc/src
55top_builddir = ../..
66include $(top_builddir ) /src/Makefile.global
77
8- TAR = tar
9- ZIP = gzip
108ZIPSUFFIX = gz
119TAREXCLUDE = --exclude=Makefile --exclude='*.sgml' --exclude=ref
1210
@@ -65,10 +63,3 @@ postgres.tar:
6563man.tar :
6664 $(MAKE ) -C sgml man
6765 $(TAR ) -cf $@ -C sgml man1 man$(sqlmansect_dummy )
68-
69- # Generic production rules
70-
71- # Compressed file
72-
73- % .$(ZIPSUFFIX ) : %
74- $(ZIP ) -f $<
Original file line number Diff line number Diff line change 11# -*-makefile-*-
2- # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.137 2001/09/16 16:11:09 petere Exp $
2+ # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.138 2001/09/17 23:00:27 petere Exp $
33
44# ------------------------------------------------------------------------------
55# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -215,6 +215,9 @@ TAR = @TAR@
215215WISH = @WISH@
216216XGETTEXT = @XGETTEXT@
217217
218+ GZIP = gzip
219+ BZIP2 = bzip2
220+
218221# Installation.
219222
220223INSTALL = $(SHELL ) $(top_srcdir ) /config/install-sh -c
@@ -329,7 +332,13 @@ STRTOUL = @STRTOUL@
329332
330333# #########################################################################
331334#
332- # Global targets
335+ # Global targets and rules
336+
337+ % .gz : %
338+ $(GZIP ) -f --best $<
339+
340+ % .bz2 : %
341+ $(BZIP2 ) -f $<
333342
334343# Remake Makefile.global from Makefile.global.in if the latter
335344# changed. In order to trigger this rule, the including file must
You can’t perform that action at this time.
0 commit comments