Don't go into SUBOS if same as OS.
This commit is contained in:
parent
2857fb49d1
commit
023270f76a
9
Makefile
9
Makefile
@ -8,12 +8,13 @@ PKG= ${NAME}-${VERSION}
|
||||
|
||||
SUBDIR= conf.d doc etc init.d man net runlevels sh src
|
||||
|
||||
MK= mk
|
||||
include ${MK}/os.mk
|
||||
include ${MK}/subdir.mk
|
||||
include ${MK}/dist.mk
|
||||
|
||||
INSTALLAFTER= _installafter
|
||||
_installafter:
|
||||
${INSTALL} -d ${DESTDIR}${RC_LIB}/init.d
|
||||
${INSTALL} -d ${DESTDIR}${RC_LIB}/tmp
|
||||
|
||||
MK= mk
|
||||
include ${MK}/os.mk
|
||||
include ${MK}/subdir.mk
|
||||
include ${MK}/dist.mk
|
||||
|
@ -19,7 +19,7 @@ _SUBDIR = @${_+_}for x in ${SUBDIR}; do \
|
||||
DIRPRFX=${DIRPRFX}$$x.${OS}/ || exit $$?; \
|
||||
cd ..; \
|
||||
fi; \
|
||||
if test -d $$x.${SUBOS}; then \
|
||||
if test "${SUBOS}" != "${OS}" && test -d $$x.${SUBOS}; then \
|
||||
${ECHODIR} "===> ${DIRPRFX}$$x.${SUBOS} (${@:realinstall=install})"; \
|
||||
cd $$x.${SUBOS}; \
|
||||
${MAKE} ${@:realinstall=install} \
|
||||
|
Loading…
Reference in New Issue
Block a user