Date: Wednesday, April 11, 2007 @ 11:05:46
  Author: marc
    Path: /cvsroot/carob/lms-kit-builder

Modified: GNUmakefile (1.13 -> 1.14)

Created $KITFILES and $KITSRC. Changes only in KITSRC forbid kit build.


-------------+
 GNUmakefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: lms-kit-builder/GNUmakefile
diff -u lms-kit-builder/GNUmakefile:1.13 lms-kit-builder/GNUmakefile:1.14
--- lms-kit-builder/GNUmakefile:1.13    Wed Apr 11 10:58:13 2007
+++ lms-kit-builder/GNUmakefile Wed Apr 11 11:05:46 2007
@@ -37,6 +37,8 @@
 
 KITDIR = libmysequoia-kit-${libmysequoia_version}c${carob_version}
 KIT = ${KITDIR}.tar
+KITSRC = GNUmakefile lmsbuild.sh README
+KITFILES = ${KITSRC} ${CAROBTAR} ${LMSTAR} build.properties
 
 build: ${CAROBDIR} ${LMSDIR}
        ${MAKE} -C ${CAROBDIR} CUSTOM=libmysequoia # comment out CUSTOM here to 
let carob subdir decide
@@ -50,14 +52,14 @@
 kit: check-diff kit-force
 
 check-diff:
-       @cvs diff --brief || { cvs diff -u ; printf " -->  Releasing a kit with 
UN-committed files is not allowed!\n\n"; exit 1; }
+       @cvs diff --brief ${KITSRC} || { cvs diff -u ${KITSRC} ; printf "\n --> 
 Releasing a kit with UN-committed files is not allowed!\n\n"; exit 1; }
 
 kit-force: ${KIT}
        @cvs diff -u || true # ignore errors, just inform
        @printf "\nSource kit  - ${KIT} -  is ready,\n"
        @printf "Don't forget to CVS-tag if you release this source kit to 
anyone\n\n"
 
-${KIT}: ${CAROBTAR} ${LMSTAR} GNUmakefile lmsbuild.sh build.properties README
+${KIT}: ${KITFILES}
        ${RM} ${KITDIR} ${KIT}
        mkdir ${KITDIR}
        cp $^ ${KITDIR}

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to