summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-21 15:42:43 +0000
committerRoy Marples <roy@marples.name>2007-11-21 15:42:43 +0000
commit38dd90b17aceff8904358ed427fa8cae22c3349d (patch)
tree0b8f0de2d53e01ca2bf929941cc901033f72ecb4
parentb321c6891e0be599ef70bc369422ba89a6701544 (diff)
downloadopenrc-38dd90b17aceff8904358ed427fa8cae22c3349d.tar.gz
openrc-38dd90b17aceff8904358ed427fa8cae22c3349d.tar.bz2
openrc-38dd90b17aceff8904358ed427fa8cae22c3349d.tar.xz
We should create init.d and tmp dirs
-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