diff --git a/Makefile b/Makefile index 04381581..24ac5ebc 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/default.mk b/default.mk index 661e4477..36448dab 100644 --- a/default.mk +++ b/default.mk @@ -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