summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--default.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0438158..24ac5eb 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 661e447..36448da 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