Don't delete .deps files on make clean.

This commit is contained in:
Jonathan Schleifer 2008-11-01 21:03:17 +01:00
parent bc6c5ab32d
commit 1e743d0e0a
2 changed files with 5 additions and 3 deletions

View file

@ -398,7 +398,7 @@ clean:
${DIR_LEAVE}; \ ${DIR_LEAVE}; \
done done
for i in ${OBJS} ${CLEAN} ${CLEAN_LIB} .deps ${DEPS}; do \ for i in ${OBJS} ${CLEAN} ${CLEAN_LIB} ${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}; \

View file

@ -134,8 +134,10 @@ AC_DEFUN([BUILDSYS_SHARED_LIB], [
]) ])
AC_DEFUN([BUILDSYS_TOUCH_DEPS], [ AC_DEFUN([BUILDSYS_TOUCH_DEPS], [
${as_echo:="echo"} "${as_me:="configure"}: Touching .deps files" ${as_echo:="echo"} "${as_me:="configure"}: touching .deps files"
for i in $(find . -name Makefile); do for i in $(find . -name Makefile); do
touch -t 0001010000 $(dirname $i)/.deps DEPSFILE="$(dirname $i)/.deps"
test -f "$DEPSFILE" && rm "$DEPSFILE"
touch -t 0001010000 "$DEPSFILE"
done done
]) ])