ObjFW  Check-in [e911d987b5]

Overview
Comment:Don't delete .deps file on make clean.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e911d987b555aba78be45d9e009bf5a609a19ea6621519932fd0f8b9343c1758
User & Date: js on 2008-11-01 20:12:59
Other Links: manifest | tags
Context
2008-11-01
20:16
Fix bug I didn't notice thanks to gcc 4.2. check-in: 2d936d7aa7 user: js tags: trunk
20:12
Don't delete .deps file on make clean. check-in: e911d987b5 user: js tags: trunk
19:55
Oops, forgot to add a file. check-in: 04462a0d89 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
])