From: greg@kroah.com Date: Fri, 2 Apr 2004 07:37:43 +0000 (-0800) Subject: [PATCH] add install and uninstall the etc/dev.d/net/hotplug.dev file to the Makefile X-Git-Tag: 024~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42e4b6819ff91725fc101e1169e30ed27a7da3ca;p=systemd [PATCH] add install and uninstall the etc/dev.d/net/hotplug.dev file to the Makefile --- diff --git a/Makefile b/Makefile index 652e712d..2504034b 100644 --- a/Makefile +++ b/Makefile @@ -354,6 +354,13 @@ install-config: $(GEN_CONFIGS) install-dev.d: $(INSTALL) -d $(DESTDIR)$(dev_ddir) $(INSTALL) -d $(DESTDIR)$(dev_ddir)default/ + $(INSTALL_PROGRAM) -D etc/dev.d/net/hotplug.dev $(DESTDIR)$(dev_ddir)net/hotplug.dev + +uninstall-dev.d: + - rm $(dev_ddir)net/hotplug.dev + - rmdir $(dev_ddir)net + - rmdir $(dev_ddir)default + - rmdir $(dev_ddir) install: install-initscript install-config install-dev.d all $(INSTALL) -d $(DESTDIR)$(udevdir) @@ -381,7 +388,7 @@ endif -C $$target $@ ; \ done ; \ -uninstall: +uninstall: uninstall-dev.d - rm $(hotplugdir)/udev.hotplug - rm $(configdir)/udev.permissions - rm $(configdir)/udev.rules @@ -399,8 +406,6 @@ uninstall: - rm $(usrbindir)/$(INFO) - rmdir $(hotplugdir) - rmdir $(configdir) - - rmdir $(dev_ddir)default - - rmdir $(dev_ddir) - rm $(udevdir)/.udev.tdb - rmdir $(udevdir) @extras="$(EXTRAS)" ; for target in $$extras ; do \