From 468277630249f6b7da8a560b710751939111035f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 23 Aug 2003 04:23:38 +0000 Subject: [PATCH] Enable uninstalling data files that were installed from a subdirectory of the source tree. --- contrib/contrib-global.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/contrib-global.mk b/contrib/contrib-global.mk index 3e4c19c0c9..7dbac918ee 100644 --- a/contrib/contrib-global.mk +++ b/contrib/contrib-global.mk @@ -1,4 +1,4 @@ -# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.5 2002/11/02 00:16:21 tgl Exp $ +# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.6 2003/08/23 04:23:38 petere Exp $ # This file contains generic rules to build many kinds of simple # contrib modules. You only need to set a few variables and include @@ -127,7 +127,7 @@ endif uninstall: ifneq (,$(DATA)$(DATA_built)) - rm -f $(addprefix $(DESTDIR)$(datadir)/contrib/, $(DATA) $(DATA_built)) + rm -f $(addprefix $(DESTDIR)$(datadir)/contrib/, $(notdir $(DATA) $(DATA_built))) endif ifdef MODULES rm -f $(addprefix $(DESTDIR)$(pkglibdir)/, $(addsuffix $(DLSUFFIX), $(MODULES))) -- 2.40.0