Remove .deps on distclean.
This commit is contained in:
parent
1e743d0e0a
commit
2c91fef8c0
1 changed files with 3 additions and 3 deletions
|
@ -123,12 +123,12 @@ depend: pre-depend ${SRCS}
|
||||||
if test x"$$regen" = x"1" -a x"$$deps" != "x"; then \
|
if test x"$$regen" = x"1" -a x"$$deps" != "x"; then \
|
||||||
${DEPEND_STATUS}; \
|
${DEPEND_STATUS}; \
|
||||||
if ${MAKE} ${MFLAGS} $$deps; then \
|
if ${MAKE} ${MFLAGS} $$deps; then \
|
||||||
rm -f .deps; \
|
test -f .deps && rm .deps; \
|
||||||
cat $$deps >.deps; \
|
cat $$deps >.deps; \
|
||||||
rm -f $$deps; \
|
rm -f $$deps; \
|
||||||
${DEPEND_OK}; \
|
${DEPEND_OK}; \
|
||||||
else \
|
else \
|
||||||
rm -f .deps $$deps; \
|
:> $$deps; \
|
||||||
${DEPEND_FAILED}; \
|
${DEPEND_FAILED}; \
|
||||||
fi; \
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
@ -415,7 +415,7 @@ distclean: clean
|
||||||
${DIR_LEAVE}; \
|
${DIR_LEAVE}; \
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${DISTCLEAN} *~; do \
|
for i in ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${DISTCLEAN} .deps *~; do \
|
||||||
if test -f $$i -o -d $$i; then \
|
if test -f $$i -o -d $$i; then \
|
||||||
if rm -fr $$i; then \
|
if rm -fr $$i; then \
|
||||||
${DELETE_OK}; \
|
${DELETE_OK}; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue