X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=SConstruct;h=8b1074eecc955a81e8fb0014171cd3ee4286b8d2;hb=5fbfcae374466c0d8d631d93e1fd58a5b7eea7d3;hp=5fd8c881141d051a2c0baf1bf68eabb7dcf4ee47;hpb=fbeb2e926ac710522f16c254948d4d271fa0ca70;p=senf.git diff --git a/SConstruct b/SConstruct index 5fd8c88..8b1074e 100644 --- a/SConstruct +++ b/SConstruct @@ -41,12 +41,16 @@ def nonemptyFile(f): def checkLocalConf(target, source, env): if [ True for f in env['CONFIG_FILES'] if nonemptyFile(f) ]: print - print "You have made local modifications to 'SConfig' and/or 'Doxyfile.local'." + print "You have made local modifications to one of the following local configuration" + print "files:" + for f in env['CONFIG_FILES']: + print " ",f + print print "Building a debian package would remove those files." print print "To continue, remove the offending file(s) and try again. Alternatively," print "build a source package using 'scons debsrc' and may then build debian" - print "binary packages from this source-package without disrupting your print local" + print "binary packages from this source-package without disrupting your local" print "configuration." print return 1 @@ -122,7 +126,7 @@ if not env.GetOption('clean') and not os.path.exists("local_config.hh"): # created later are correct if not env.GetOption('clean') and not os.path.exists(".prepare-stamp") \ - and not os.environ.get("SCONS"): + and not os.environ.get("SCONS") and COMMAND_LINE_TARGETS != [ 'prepare' ]: env.Execute([ "scons prepare" ]) env.Clean('all', '.prepare-stamp') @@ -172,7 +176,7 @@ PhonyTarget(env, 'debbin', [ PhonyTarget(env, 'linklint', [ 'rm -rf linklint', - 'linklint -doc linklint -net -limit 99999999 `find -type d -name html -printf "/%P/@ "`', + 'linklint -doc linklint -limit 99999999 `find -type d -name html -printf "/%P/@ "`', '[ ! -r linklint/errorX.html ] || python linklint_addnames.py linklint/errorX.html.new', '[ ! -r linklint/errorX.html.new ] || mv linklint/errorX.html.new linklint/errorX.html', '[ ! -r linklint/errorAX.html ] || python linklint_addnames.py linklint/errorAX.html.new',