X-Git-Url: https://pd.if.org/git/?p=startuptools;a=blobdiff_plain;f=Makefile;h=0c1b74094d6b8784244e17996171799c403d99e1;hp=acf459c2b079c06364735dbce67e3984d88ab25e;hb=HEAD;hpb=5e333b986783db3950cf5b72736721da243191b5 diff --git a/Makefile b/Makefile index acf459c..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 @@ -8,7 +8,12 @@ all: $(PRG) clean: rm -f *.o $(PRG) -install: install-scripts +daemon.o: daemon.c exec.c +setid.o: setid.c exec.c + +install: all install-scripts + install -d -m755 $(DESTDIR)/sbin + install setid $(DESTDIR)/sbin install-scripts: install -d -m755 $(DESTDIR)/etc/rc.d