X-Git-Url: https://pd.if.org/git/?p=startuptools;a=blobdiff_plain;f=Makefile;fp=Makefile;h=0c1b74094d6b8784244e17996171799c403d99e1;hp=664dc271149bfb1efeefcf2bffe799189953875d;hb=a99b3128aa7428fe93a85e48bc9169a2fe8c9746;hpb=257f33dd235edbdd9d2e185849b2f9cfc0617ea2 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