aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-07-03 16:40:28 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-07-03 16:40:28 -0400
commitfcc4a20dd0be2342d35cfa2bad82af22d5169c20 (patch)
treef6cbc5e7530b911924f26130bd576123ef166fe2 /src
parentd3d3ec0d890412f3b39a70e8fd08edf17e3c9f7c (diff)
downloadpostgresql-fcc4a20dd0be2342d35cfa2bad82af22d5169c20.tar.gz
postgresql-fcc4a20dd0be2342d35cfa2bad82af22d5169c20.zip
Back-patch creation of tar.bz2 tarball during "make dist".
Since commit a4d03bbcdaf7739d7e9073ee76bb186f68ddc163, "make dist" has built both gzip- and bzip2-compressed tarballs. However, this was pretty useless, because our tarball build script didn't know about it and proceeded to overwrite the bz2 file with new data. Back-patch the change to all active branches, so that creation of the tar.bz2 file can be removed from the build script.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 763bdc004a0..17d3772e96c 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -476,10 +476,10 @@ TAS = @TAS@
$(CPP) $(CPPFLAGS) -o $@ $<
%.gz: %
- $(GZIP) -f --best $<
+ $(GZIP) --best -c $< >$@
%.bz2: %
- $(BZIP2) -f $<
+ $(BZIP2) -c $< >$@
ifndef PGXS