]> err.no Git - systemd/commitdiff
[PATCH] fix the Makefile to install the init script into the proper directory
authorgreg@kroah.com <greg@kroah.com>
Wed, 3 Mar 2004 07:33:52 +0000 (23:33 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:07 +0000 (21:35 -0700)
grrr...robert...

Makefile

index 45ff672be79c4bcc968549138e9ec0d59f950b3c..8f06c367c98482f8a6a0f6be375dfd86b1cac468 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -349,11 +349,11 @@ endif
 
 install-initscript: etc/init.d/udev etc/init.d/udev.debian etc/init.d/udev.init.LSB
        @if [ -f /etc/redhat-release ]; then \
-               $(INSTALL_DATA) etc/init.d/udev $(etcdir)/init.d/udev; \
+               $(INSTALL_DATA) etc/init.d/udev $(DESTDIR)$(initdir)/udev; \
        elif [ -f /etc/SuSE-release ]; then \
-               $(INSTALL_DATA) etc/init.d/udev.init.LSB $(etcdir)/init.d/udev; \
+               $(INSTALL_DATA) etc/init.d/udev.init.LSB $(DESTDIR)$(initdir)/udev; \
        elif [ -f /etc/debian_version ]; then \
-               $(INSTALL_DATA) etc/init.d/udev.debian $(etcdir)/init.d/udev; \
+               $(INSTALL_DATA) etc/init.d/udev.debian $(DESTDIR)$(initdir)/udev; \
        fi
 
 install-config: $(GEN_CONFIGS)