]> pd.if.org Git - startuptools/blobdiff - Makefile
fix empty module list handling
[startuptools] / Makefile
index 664dc271149bfb1efeefcf2bffe799189953875d..0c1b74094d6b8784244e17996171799c403d99e1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PRG=daemon chdir chids
+PRG=daemon chdir setid
 CFLAGS=-Wall -Wno-parentheses
 RCSCRIPTS=example.rc functions.rc network
 ETC=rc.conf rc.local rc.multi rc.shutdown rc.single rc.sysinit
@@ -9,9 +9,11 @@ clean:
        rm -f *.o $(PRG)
 
 daemon.o: daemon.c exec.c
-chids.o: chids.c exec.c
+setid.o: setid.c exec.c
 
-install: install-scripts
+install: all install-scripts
+       install -d -m755 $(DESTDIR)/sbin
+       install setid $(DESTDIR)/sbin
 
 install-scripts:
         install -d -m755 $(DESTDIR)/etc/rc.d