]> err.no Git - systemd/commitdiff
[PATCH] don't install distribution specific init script on "make install"
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Tue, 7 Dec 2004 21:45:36 +0000 (22:45 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:06:10 +0000 (23:06 -0700)
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

index e966591b522d0079ab2cb7d57f4a01d20e2bb89d..6494c1bf196b1e7f4ff9405331d5ddd7e1597608 100644 (file)
--- 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)