Date: Friday, April 6, 2007 @ 17:53:59
  Author: marc
    Path: /cvsroot/carob/lms-kit-builder

Modified: GNUmakefile (1.9 -> 1.10)

Implemented check-diff and kit-force


-------------+
 GNUmakefile |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)


Index: lms-kit-builder/GNUmakefile
diff -u lms-kit-builder/GNUmakefile:1.9 lms-kit-builder/GNUmakefile:1.10
--- lms-kit-builder/GNUmakefile:1.9     Fri Apr  6 17:12:54 2007
+++ lms-kit-builder/GNUmakefile Fri Apr  6 17:53:59 2007
@@ -51,8 +51,13 @@
 install: build
        cd ${LMSDIR}; make install
 
-kit: ${SRCKIT}
-       @printf "\nSource kit  - ${SRCKIT} -  is ready\n"
+kit: check-diff kit-force
+
+check-diff:
+       @cvs diff -u || { printf "   Releasing a kit with UN-committed files is 
not allowed!\n\n"; exit 1; }
+
+kit-force: ${SRCKIT}
+       @printf "\nSource kit  - ${SRCKIT} -  is ready,\n"
        @printf "Don't forget to CVS-tag if you release this source kit to 
anyone\n\n"
 
 ${SRCKIT}: ${CAROBTAR} ${LMSTAR} GNUmakefile lmsbuild.sh build.properties 
README

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

Reply via email to