We should create init.d and tmp dirs

This commit is contained in:
Roy Marples 2007-11-21 15:42:43 +00:00
parent b321c6891e
commit 38dd90b17a
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ include $(TOPDIR)/Makefile.$(OS)
install::
ln -snf ../../$(RC_LIB)/sh/net.sh $(DESTDIR)/etc/init.d/$(NET_LO) || exit $$?
ln -snf ../../$(RC_LIB)/sh/functions.sh $(DESTDIR)/etc/init.d || exit $$?
$(INSTALL) -d $(DESTDIR)$(RC_LIB)/init.d
$(INSTALL) -d $(DESTDIR)$(RC_LIB)/tmp
clean::
rm -f *.bz2

View File

@ -1,7 +1,7 @@
# Common makefile settings
# We shouldn't use PREFIX as we need to install into /
DESTDIR = /
DESTDIR =
LIB = lib
RC_LIB = /$(LIB)/rc