Date: Monday, May 7, 2007 @ 14:19:39
Author: marc
Path: /cvsroot/carob/lms-kit-builder
Modified: GNUmakefile (1.16 -> 1.17)
Made target dev/undev more robust
-------------+
GNUmakefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Index: lms-kit-builder/GNUmakefile
diff -u lms-kit-builder/GNUmakefile:1.16 lms-kit-builder/GNUmakefile:1.17
--- lms-kit-builder/GNUmakefile:1.16 Mon May 7 13:16:29 2007
+++ lms-kit-builder/GNUmakefile Mon May 7 14:19:39 2007
@@ -43,6 +43,8 @@
KITSRC = GNUmakefile lmsbuild.sh README
KITFILES = ${KITSRC} ${CAROBTAR} ${LMSTAR} build.properties
+DISABLED_PROPERTIES = build.properties.devdisabled
+
build: ${CAROBDIR} ${LMSDIR}
${MAKE} -C ${CAROBDIR} CUSTOM="${CUSTOM}"
./lmsbuild.sh ${LMSOPTS}
@@ -77,7 +79,7 @@
distclean: clean
- ${MAKE} -C ${CAROBDIR} distclean
- ${MAKE} -C ${LMSDIR} distclean
- ${RM} ${CAROBDIR} ${LMSDIR}
+ test -f ${DISABLED_PROPERTIES} || ${RM} ${CAROBDIR} ${LMSDIR}
maintainer-clean: distclean
- ${MAKE} -C ${LMSDIR} maintainer-clean
@@ -91,8 +93,9 @@
${TOUCH} carob-
- ${LN_S} ../libmysequoia libmysequoia-
${TOUCH} libmysequoia-
- - mv build.properties build.properties.devdisabled
+ test -f ${DISABLED_PROPERTIES} || mv build.properties
${DISABLED_PROPERTIES}
+ printf "CUSTOM=gcc-debug\n" > build.properties
undev:
- ${RM} carob- libmysequoia- carob-.${TGZ} libmysequoia-.${TGZ}
- mv build.properties.devdisabled build.properties
+ - mv ${DISABLED_PROPERTIES} build.properties
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits