]> git.meshlink.io Git - catta/commitdiff
fix "make distcheck"
authorLennart Poettering <lennart@poettering.net>
Sat, 2 Sep 2006 18:34:03 +0000 (18:34 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 2 Sep 2006 18:34:03 +0000 (18:34 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1315 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-autoipd/Makefile.am

index 7fda8c7126184a2e8c2f6ee9120eedb608eae4eb..11e6493b17fc499260eee800aef56035c8cadb7c 100644 (file)
@@ -63,8 +63,12 @@ dhcliententerdir = $(sysconfdir)/dhcp3/dhclient-enter-hooks.d
 dhclientexitdir = $(sysconfdir)/dhcp3/dhclient-exit-hooks.d
 
 install-exec-hook: dhclient-exit-hook dhclient-enter-hook
-       $(INSTALL) $(srcdir)/dhclient-enter-hook $(DESTDIR)$(dhcliententerdir)/avahi-autoipd
-       $(INSTALL) $(srcdir)/dhclient-exit-hook $(DESTDIR)$(dhclientexitdir)/avahi-autoipd
+       $(mkdir_p) $(DESTDIR)$(dhcliententerdir) $(DESTDIR)$(dhclientexitdir)
+       $(INSTALL) dhclient-enter-hook $(DESTDIR)$(dhcliententerdir)/avahi-autoipd
+       $(INSTALL) dhclient-exit-hook $(DESTDIR)$(dhclientexitdir)/avahi-autoipd
+
+uninstall-hook:
+       rm -f $(DESTDIR)$(dhcliententerdir)/avahi-autoipd $(DESTDIR)$(dhclientexitdir)/avahi-autoipd
 
 endif