summaryrefslogtreecommitdiff
path: root/GNUmakefile.in
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-11-03 21:28:10 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-11-03 21:28:10 +0000
commita4d03bbcdaf7739d7e9073ee76bb186f68ddc163 (patch)
tree9223ce9743f81eb9fb0178a0cacd8743518ef9fe /GNUmakefile.in
parent16cd34a4352cc61d52b0aa99a8ece0926d236b03 (diff)
downloadpostgresql-a4d03bbcdaf7739d7e9073ee76bb186f68ddc163.tar.gz
Build bzip2 tarball in dist target as well
Diffstat (limited to 'GNUmakefile.in')
-rw-r--r--GNUmakefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 34a8bd15b7..d934b19d95 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,7 +1,7 @@
#
# PostgreSQL top level makefile
#
-# $PostgreSQL: pgsql/GNUmakefile.in,v 1.54 2009/10/29 21:57:17 petere Exp $
+# $PostgreSQL: pgsql/GNUmakefile.in,v 1.55 2009/11/03 21:28:10 petere Exp $
#
subdir =
@@ -70,12 +70,14 @@ distdir = postgresql-$(VERSION)
dummy = =install=
garbage = =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
-dist: $(distdir).tar.gz
+dist: $(distdir).tar.gz $(distdir).tar.bz2
rm -rf $(distdir)
$(distdir).tar: distdir
$(TAR) chf $@ $(distdir)
+.INTERMEDIATE: $(distdir).tar
+
distdir-location:
@echo $(distdir)
@@ -98,10 +100,10 @@ distdir:
$(MAKE) -C $(distdir) distclean
rm -f $(distdir)/README.CVS
-distcheck: $(distdir).tar.gz
+distcheck: dist
rm -rf $(dummy)
mkdir $(dummy)
- $(GZIP) -d -c $< | $(TAR) xf -
+ $(GZIP) -d -c $(distdir).tar.gz | $(TAR) xf -
install_prefix=`cd $(dummy) && pwd`; \
cd $(distdir) \
&& ./configure --prefix="$$install_prefix"