summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2013-01-23 11:09:56 -0800
committerDan Nicholson <dbn.lists@gmail.com>2013-01-23 11:09:56 -0800
commit8b7489a36fe47ae18a66d33b29b9dab6720cbb37 (patch)
treee7c7088cbe8d669b70d2815d9662833adab04b98
parent1694230365b2518797d13fdbfd4b7578ce89f00e (diff)
downloadpkg-config-8b7489a36fe47ae18a66d33b29b9dab6720cbb37.tar.gz
Remove $host-pkg-config when uninstalling
Fixes an error from distcheck about files left in the destdir after uninstalling.
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d3e3c61..41e48e8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,6 +40,8 @@ if HOST_TOOL
host_tool = $(host)-pkg-config$(EXEEXT)
install-exec-hook:
cd $(DESTDIR)$(bindir) && $(LN) pkg-config$(EXEEXT) $(host_tool)
+uninstall-hook:
+ cd $(DESTDIR)$(bindir) && rm -f $(host_tool)
endif
# Various data files