aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-09-17 23:00:27 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-09-17 23:00:27 +0000
commit27d2890b87bf8a933e149e88a5663acd61ee4f41 (patch)
tree11563c421f6e1f0dafc28f0f23fe71fbedea8429 /src
parenta839258db53d4449ce5ad1937e211c4ccb847111 (diff)
downloadpostgresql-27d2890b87bf8a933e149e88a5663acd61ee4f41.tar.gz
postgresql-27d2890b87bf8a933e149e88a5663acd61ee4f41.zip
Unify the zip rules and variables.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 9c3b697889b..9af54765418 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -1,5 +1,5 @@
# -*-makefile-*-
-# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.137 2001/09/16 16:11:09 petere Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.138 2001/09/17 23:00:27 petere Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -215,6 +215,9 @@ TAR = @TAR@
WISH = @WISH@
XGETTEXT = @XGETTEXT@
+GZIP = gzip
+BZIP2 = bzip2
+
# Installation.
INSTALL = $(SHELL) $(top_srcdir)/config/install-sh -c
@@ -329,7 +332,13 @@ STRTOUL = @STRTOUL@
##########################################################################
#
-# Global targets
+# Global targets and rules
+
+%.gz: %
+ $(GZIP) -f --best $<
+
+%.bz2: %
+ $(BZIP2) -f $<
# Remake Makefile.global from Makefile.global.in if the latter
# changed. In order to trigger this rule, the including file must