buildsys  Check-in [a50fe57783]

Overview
Comment:Properly delete data dir.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a50fe577833babe542b83fd86e8f9a9d0102999c6695808920ff8a58d56e17db
User & Date: js on 2010-04-18 01:55:11
Other Links: manifest | tags
Context
2010-05-08
14:40
Include the library version in the resulting .dylib. check-in: b4cda18675 user: js tags: trunk
2010-04-18
01:55
Properly delete data dir. check-in: a50fe57783 user: js tags: trunk
2009-12-16
11:38
Change compiling .po files and install the .mo files. check-in: bfe0deda6b user: js tags: trunk
Changes

Modified buildsys.mk.in from [87b3329260] to [99d93ef5bf].

413
414
415
416
417
418
419
420

421

422
423
424
425
426
427
428
	for i in ${DATA}; do \
		if test -f ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \
			if rm -f ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \
			fi \
		fi \

	done


	for i in ${PROG}; do \
		if test -f ${DESTDIR}${bindir}/$$i; then \
			if rm -f ${DESTDIR}${bindir}/$$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \







|
>

>







413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
	for i in ${DATA}; do \
		if test -f ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \
			if rm -f ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \
			fi \
		fi; \
		rmdir "$$(dirname ${DESTDIR}${datadir}/${PACKAGE}/$$i)" >/dev/null 2>&1 || true; \
	done
	-rmdir ${DESTDIR}${datadir}/${PACKAGE} >/dev/null 2>&1

	for i in ${PROG}; do \
		if test -f ${DESTDIR}${bindir}/$$i; then \
			if rm -f ${DESTDIR}${bindir}/$$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \