summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2009-06-26 06:40:57 +0000
committerPeter Eisentraut2009-06-26 06:40:57 +0000
commit0371f56a4d8d43d63634442a56aa813d342a4dd3 (patch)
tree4bcce1db6d5ff9c2fd10ae129b07d63872b72237
parented94b814acb579c03227dd84f2995055e05c2d58 (diff)
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/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 004218afaf..db7c66a251 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -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 \