From c64081980e7dc693327ad18995bc25e3eec61eea Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Tue, 7 Dec 2004 22:45:36 +0100 Subject: [PATCH] [PATCH] don't install distribution specific init script on "make install" Leave that part up to the one who itegrates udev into a system as there is much more to care of than to call a init stript for a dynamic dev. --- Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Makefile b/Makefile index e966591b..6494c1bf 100644 --- a/Makefile +++ b/Makefile @@ -374,14 +374,6 @@ small_release: $(DISTFILES) spotless @rm -rf $(DISTDIR) @echo "Built $(RELEASE_NAME).tar.gz" - -install-initscript: etc/init.d/udev etc/init.d/udev.init.LSB - @if [ -f /etc/redhat-release ]; then \ - $(INSTALL_DATA) -D etc/init.d/udev $(DESTDIR)$(initdir)/udev; \ - elif [ -f /etc/SuSE-release ]; then \ - $(INSTALL_DATA) -D etc/init.d/udev.init.LSB $(DESTDIR)$(initdir)/udev; \ - fi - install-config: $(INSTALL) -d $(DESTDIR)$(configdir)/rules.d $(INSTALL) -d $(DESTDIR)$(configdir)/permissions.d @@ -424,7 +416,7 @@ uninstall-man: - rm $(mandir)/man8/udevd.8 - rm $(mandir)/man8/udevsend.8 -install: install-initscript install-config install-man install-dev.d all +install: install-config install-man install-dev.d all $(INSTALL) -d $(DESTDIR)$(udevdir) $(INSTALL) -d $(DESTDIR)$(hotplugdir) $(INSTALL_PROGRAM) -D $(ROOT) $(DESTDIR)$(sbindir)/$(ROOT) @@ -452,7 +444,6 @@ uninstall: uninstall-man uninstall-dev.d - rmdir $(configdir)/rules.d - rmdir $(configdir)/permissions.d - rmdir $(configdir) - - rm $(initdir)/udev - rm $(sbindir)/$(ROOT) - rm $(sbindir)/$(DAEMON) - rm $(sbindir)/$(SENDER) -- 2.39.5