aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-07-03 16:40:37 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-07-03 16:40:37 -0400
commit41fd96928968c4e7ccececb3a3e013f2521bb6cd (patch)
tree27dbfd2d28fa85710d434810e9857f183733232b /src
parent457c2d9158d35240ec54ea2052d89ff4f8fe19db (diff)
downloadpostgresql-41fd96928968c4e7ccececb3a3e013f2521bb6cd.tar.gz
postgresql-41fd96928968c4e7ccececb3a3e013f2521bb6cd.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 820dfd59653..3eeb3e09f68 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -441,10 +441,10 @@ TAS = @TAS@
# Global targets and rules
%.gz: %
- $(GZIP) -f --best $<
+ $(GZIP) --best -c $< >$@
%.bz2: %
- $(BZIP2) -f $<
+ $(BZIP2) -c $< >$@
ifeq ($(PORTNAME),win32)
# Build rules to add versioninfo resources to win32 binaries