Skip to content

Commit 4682776

Browse files
committed
Enable uninstalling data files that were installed from a subdirectory of
the source tree.
1 parent 200b7d1 commit 4682776

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/contrib-global.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.5 2002/11/02 00:16:21 tgl Exp $
1+
# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.6 2003/08/23 04:23:38 petere Exp $
22

33
# This file contains generic rules to build many kinds of simple
44
# contrib modules. You only need to set a few variables and include
@@ -127,7 +127,7 @@ endif
127127

128128
uninstall:
129129
ifneq (,$(DATA)$(DATA_built))
130-
rm -f $(addprefix $(DESTDIR)$(datadir)/contrib/, $(DATA) $(DATA_built))
130+
rm -f $(addprefix $(DESTDIR)$(datadir)/contrib/, $(notdir $(DATA) $(DATA_built)))
131131
endif
132132
ifdef MODULES
133133
rm -f $(addprefix $(DESTDIR)$(pkglibdir)/, $(addsuffix $(DLSUFFIX), $(MODULES)))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy