From 8b7489a36fe47ae18a66d33b29b9dab6720cbb37 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Wed, 23 Jan 2013 11:09:56 -0800 Subject: Remove $host-pkg-config when uninstalling Fixes an error from distcheck about files left in the destdir after uninstalling. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.am') 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 -- cgit v1.2.1