X-Git-Url: https://pd.if.org/git/?p=startuptools;a=blobdiff_plain;f=Makefile;h=0c1b74094d6b8784244e17996171799c403d99e1;hp=664dc271149bfb1efeefcf2bffe799189953875d;hb=HEAD;hpb=b649ad438108ea1865c05a155cd4b47a9eb7efe4 diff --git a/Makefile b/Makefile index 664dc27..0c1b740 100644 --- 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