buildsys  Check-in [65c48c4be2]

Overview
Comment:Don't delete .deps files on make clean.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 65c48c4be2937cf8171585b5dd404eaf7ad353aadfa6be114819b2b317aa5b2d
User & Date: js on 2008-11-01 20:03:17
Other Links: manifest | tags
Context
2008-11-01
20:22
Remove .deps on distclean. check-in: e8a5ad3b7d user: js tags: trunk
20:03
Don't delete .deps files on make clean. check-in: 65c48c4be2 user: js tags: trunk
19:27
It seems that $as_echo is undefined on some systems. Fixed. check-in: 1b298e5879 user: js tags: trunk
Changes

Modified buildsys.mk.in from [e412298582] to [748010db8f].

394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
clean:
	for i in ${SUBDIRS}; do \
		${DIR_ENTER}; \
		${MAKE} ${MFLAGS} clean || exit 1; \
		${DIR_LEAVE}; \
	done
	
	for i in ${OBJS} ${CLEAN} ${CLEAN_LIB} .deps ${DEPS}; do \
		if test -f $$i -o -d $$i; then \
			if rm -fr $$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \
			fi \
		fi \







|







394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
clean:
	for i in ${SUBDIRS}; do \
		${DIR_ENTER}; \
		${MAKE} ${MFLAGS} clean || exit 1; \
		${DIR_LEAVE}; \
	done
	
	for i in ${OBJS} ${CLEAN} ${CLEAN_LIB} ${DEPS}; do \
		if test -f $$i -o -d $$i; then \
			if rm -fr $$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \
			fi \
		fi \

Modified m4/buildsys.m4 from [fe8f5c632d] to [e59b36394f].

130
131
132
133
134
135
136
137
138


139
140
141
	AC_SUBST(PLUGIN_SUFFIX)
	AC_SUBST(INSTALL_LIB)
	AC_SUBST(UNINSTALL_LIB)
	AC_SUBST(CLEAN_LIB)
])

AC_DEFUN([BUILDSYS_TOUCH_DEPS], [
	${as_echo:="echo"} "${as_me:="configure"}: Touching .deps files"
	for i in $(find . -name Makefile); do


		touch -t 0001010000 $(dirname $i)/.deps
	done
])







|

>
>
|


130
131
132
133
134
135
136
137
138
139
140
141
142
143
	AC_SUBST(PLUGIN_SUFFIX)
	AC_SUBST(INSTALL_LIB)
	AC_SUBST(UNINSTALL_LIB)
	AC_SUBST(CLEAN_LIB)
])

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