aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-06-26 06:40:57 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-06-26 06:40:57 +0000
commita87a1e5428dbbfed6e423a2d9281bb6ed6e53d5e (patch)
tree4f26ed35d5c3b9ced7d6392d1ab61ae374ec0241
parent6bcdb8aa85662933e72b5c8b21eb1ddfbcf6e3c9 (diff)
downloadpostgresql-a87a1e5428dbbfed6e423a2d9281bb6ed6e53d5e.tar.gz
postgresql-a87a1e5428dbbfed6e423a2d9281bb6ed6e53d5e.zip
Extract tarballs with "o" option (tar xof), to behave reasonably when run
as root, as would usually be the case during make install. per bug #4883
-rw-r--r--doc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 0dca8f21b11..fe3d787b9e6 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/doc/Makefile,v 1.35 2009/06/26 06:37:14 petere Exp $
+# $PostgreSQL: pgsql/doc/Makefile,v 1.36 2009/06/26 06:40:57 petere Exp $
#
#----------------------------------------------------------------------------
@@ -53,7 +53,7 @@ man1/.timestamp: man7/.timestamp
@echo timestamp >$@
man7/.timestamp: man.tar.gz
- gzip -d -c $< | $(TAR) xf -
+ gzip -d -c $< | $(TAR) xof -
ifneq ($(sqlmansectnum),7)
for file in man1/*.1; do \
mv $$file $$file.bak && \
@@ -76,7 +76,7 @@ endif # found_man
install: all installdirs
ifdef found_html
- gzip -d -c $(srcdir)/postgres.tar.gz | ( cd $(DESTDIR)$(htmldir)/html && $(TAR) xf - )
+ gzip -d -c $(srcdir)/postgres.tar.gz | ( cd $(DESTDIR)$(htmldir)/html && $(TAR) xof - )
endif
ifdef found_man
for file in man1/*.1 man$(sqlmansectnum)/*.$(sqlmansect) ; do \