X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=664dc271149bfb1efeefcf2bffe799189953875d;hb=b649ad438108ea1865c05a155cd4b47a9eb7efe4;hp=3361e35af164dd4dbb8fa12ebf324310841727d4;hpb=f0735327127a921d3ee96f51b84f23208bc6f445;p=startuptools diff --git a/Makefile b/Makefile index 3361e35..664dc27 100644 --- a/Makefile +++ b/Makefile @@ -8,16 +8,21 @@ all: $(PRG) clean: rm -f *.o $(PRG) +daemon.o: daemon.c exec.c +chids.o: chids.c exec.c + install: install-scripts install-scripts: install -d -m755 $(DESTDIR)/etc/rc.d install -d -m755 $(DESTDIR)/sbin - cd scripts install -m755 $(addprefix scripts/,$(ETC)) $(DESTDIR)/etc install -m644 scripts/inittab $(DESTDIR)/etc install -m755 $(addprefix scripts/,$(RCSCRIPTS)) $(DESTDIR)/etc/rc.d install -m755 $(addprefix scripts/,ifup ifdown) $(DESTDIR)/sbin + install -d -m755 $(DESTDIR)/etc/networks + install -m755 scripts/localhost.net $(DESTDIR)/etc/networks/localhost + install -D -m644 scripts/example.rc $(DESTDIR)/usr/share/startuptools/example.rc tarball: rm startuptools.tar.gz ; cd ..; tar -czf startuptools.tar.gz startuptools; mv startuptools.tar.gz startuptools