]> granicus.if.org Git - sudo/commitdiff
The init.d files are generated from a .in file so we need to install
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 24 Jul 2015 19:38:03 +0000 (13:38 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 24 Jul 2015 19:38:03 +0000 (13:38 -0600)
from top_builddir not top_srcdir.  From Ross Burton.  Bug #708

doc/CONTRIBUTORS
src/Makefile.in

index 68a2b07d458c93824595aae3e8729c77777950e7..4717e027b9c4d6f4e5e5f1c199dc115631ff6c8d 100644 (file)
@@ -25,6 +25,7 @@ you believe you should be listed, please send a note to sudo@sudo.ws.
     Brooks, Piete
     Brown, Jerry
     Burr, Michael E
+    Burton, Ross
     Bussjaeger, Andreas
     Calvin, Gary
     Campbell, Aaron
index f009e10e4538a25a8777c478eefb208e4b7a5da7..7acfb2dc076827424bdadd4c68fcbe3e8630e9d9 100644 (file)
@@ -165,11 +165,11 @@ install-dirs:
 
 install-rc: install-dirs
        if [ -n "$(INIT_SCRIPT)" ]; then \
-           $(INSTALL) $(INSTALL_OWNER) -m 0755 $(top_srcdir)/init.d/$(INIT_SCRIPT) $(DESTDIR)$(INIT_DIR)/sudo; \
+           $(INSTALL) $(INSTALL_OWNER) -m 0755 $(top_builddir)/init.d/$(INIT_SCRIPT) $(DESTDIR)$(INIT_DIR)/sudo; \
            rm -f $(DESTDIR)$(RC_LINK); \
            ln -s $(INIT_DIR)/sudo $(DESTDIR)$(RC_LINK); \
        elif test -n "$(tmpfiles_d)"; then \
-           $(INSTALL) $(INSTALL_OWNER) -m 0644 $(top_srcdir)/init.d/sudo.conf $(DESTDIR)$(tmpfiles_d)/sudo.conf; \
+           $(INSTALL) $(INSTALL_OWNER) -m 0644 $(top_builddir)/init.d/sudo.conf $(DESTDIR)$(tmpfiles_d)/sudo.conf; \
        fi
 
 install-binaries: install-dirs $(PROGS)