From 38dd90b17aceff8904358ed427fa8cae22c3349d Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 21 Nov 2007 15:42:43 +0000 Subject: [PATCH] We should create init.d and tmp dirs --- Makefile | 2 ++ default.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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