Remove $host-pkg-config when uninstalling

Fixes an error from distcheck about files left in the destdir after
uninstalling.
This commit is contained in:
Dan Nicholson 2013-01-23 11:09:56 -08:00
parent 1694230365
commit 8b7489a36f

View file

@ -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