From: Michael Smith Date: Sun, 8 Jul 2007 21:05:49 +0000 (+0000) Subject: Added some convenience scripts for building release builds. X-Git-Tag: release/1.79.1~6^2~2007 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4690707ab463c6078c0ab07c3b6ebdf3904901b5;p=docbook-dsssl Added some convenience scripts for building release builds. --- diff --git a/releasetools/build-check b/releasetools/build-check new file mode 100644 index 000000000..dad13652f --- /dev/null +++ b/releasetools/build-check @@ -0,0 +1,15 @@ +#!/bin/sh +# $Id$ +LOGFILENAME=LOG +if [ -f $LOGFILENAME ] +then + egrep -i "error|fail|\*[^.]" $LOGFILENAME +else + echo + echo "No $LOGFILENAME file found." + echo "To generate a $LOGFILENAME file, run 'make' like this:" + echo + echo " make all 2>&1 | tee $LOGFILENAME" + echo + exit 1 +fi diff --git a/releasetools/build-clean b/releasetools/build-clean new file mode 100755 index 000000000..ae2e1cc5d --- /dev/null +++ b/releasetools/build-clean @@ -0,0 +1,14 @@ +#!/bin/sh +# $Id$ +if [ -z "$(svn status | egrep '^\?|^X')" ] +then + svn-clean +else + echo + echo "Unversioned files found. Before building, either delete the" + echo "following files, add them to the repository, or add them to" + echo "the svn:ignore properties for their parent directories." + echo + svn status | egrep '^\?|^X' | cut -c2- + exit 1 +fi