We should create init.d and tmp dirs
This commit is contained in:
parent
b321c6891e
commit
38dd90b17a
2
Makefile
2
Makefile
@ -15,6 +15,8 @@ include $(TOPDIR)/Makefile.$(OS)
|
|||||||
install::
|
install::
|
||||||
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 $$?
|
||||||
ln -snf ../../$(RC_LIB)/sh/functions.sh $(DESTDIR)/etc/init.d || 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::
|
clean::
|
||||||
rm -f *.bz2
|
rm -f *.bz2
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Common makefile settings
|
# Common makefile settings
|
||||||
# We shouldn't use PREFIX as we need to install into /
|
# We shouldn't use PREFIX as we need to install into /
|
||||||
|
|
||||||
DESTDIR = /
|
DESTDIR =
|
||||||
LIB = lib
|
LIB = lib
|
||||||
RC_LIB = /$(LIB)/rc
|
RC_LIB = /$(LIB)/rc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user