aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-06-18 15:10:35 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-06-18 15:10:35 +0000
commita091ac46caea47bd44da27bd6ae4076a3190087a (patch)
tree00b0a896d4ee196a6ffe4c4df69894d37b62ffee
parent95289ea90ba2909049d8aa7fb1f7152559e17ddb (diff)
downloadpostgresql-a091ac46caea47bd44da27bd6ae4076a3190087a.tar.gz
postgresql-a091ac46caea47bd44da27bd6ae4076a3190087a.zip
Don't attempt to "rm" directories on uninstall.
-rw-r--r--doc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 3c8dc446d9a..37984f0aa52 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.32 2008/11/14 10:22:45 petere Exp $
+# $PostgreSQL: pgsql/doc/Makefile,v 1.33 2009/06/18 15:10:35 petere Exp $
#
#----------------------------------------------------------------------------
@@ -97,7 +97,7 @@ ifdef found_html
rm -f $(addprefix $(DESTDIR)$(htmldir)/html/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | tar tf -))
endif
ifdef found_man
- rm -f $(addprefix $(DESTDIR)$(mandir)/, $(shell gunzip -c $(srcdir)/man.tar.gz | tar tf - | sed -e 's,man7/,man$(sqlmansectnum)/,' -e 's/.7$$/.$(sqlmansect)/'))
+ rm -f $(filter-out %/, $(addprefix $(DESTDIR)$(mandir)/, $(shell gunzip -c $(srcdir)/man.tar.gz | tar tf - | sed -e 's,man7/,man$(sqlmansectnum)/,' -e 's/.7$$/.$(sqlmansect)/')))
endif