From cc96c0933d3fc82e6a7f687bf18705bae62e550a Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 3 Jan 2008 15:48:33 +0000 Subject: Juggle the Makefiles so that sh knows about NET_LO --- sh/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sh/Makefile') diff --git a/sh/Makefile b/sh/Makefile index c682eeb..bc8ddae 100644 --- a/sh/Makefile +++ b/sh/Makefile @@ -5,6 +5,9 @@ BIN = gendepends.sh net.sh runscript.sh TOPDIR = .. include $(TOPDIR)/default.mk +# To get NET_LO +include Makefile.$(OS) + install:: @# Handle lib correctly if test $(LIB) != "lib"; then \ @@ -14,7 +17,7 @@ install:: rm -f $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh.bak; \ fi @# Provide an init script for the loopback interface - ln -snf /$(RC_LIB)/sh/net.sh $(DESTDIR)/etc/init.d/$(NET_LO) || exit $$? + ln -snf $(RC_LIB)/sh/net.sh $(DESTDIR)/etc/init.d/$(NET_LO) || exit $$? @# Put functions.sh into the init.d dir so 3rd part apps don't have to @# be multilib aware - ln -snf /$(RC_LIB)/sh/functions.sh $(DESTDIR)/etc/init.d || exit $$? + ln -snf $(RC_LIB)/sh/functions.sh $(DESTDIR)/etc/init.d || exit $$? -- cgit v1.2.3