X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=SConstruct;h=8b1074eecc955a81e8fb0014171cd3ee4286b8d2;hb=5fbfcae374466c0d8d631d93e1fd58a5b7eea7d3;hp=fba2987867ddbb67f675aec51cafdc163bcf3a9f;hpb=a479735a65e334af538b895f182f8efd36a541c5;p=senf.git diff --git a/SConstruct b/SConstruct index fba2987..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 @@ -70,6 +74,7 @@ deb Build debian source and binary package debsrc Build debian source package debbin Build debian binary package linklint Check links of doxygen documentation with 'linklint' +fixlinks Fix broken links in doxygen documentation """) if os.environ.get('debian_build'): @@ -86,7 +91,7 @@ def configFilesOpts(target, source, env, for_signature): env.Append( CPPPATH = [ '#/include' ], - LIBS = [ 'iberty', '$BOOSTREGEXLIB' ], + LIBS = [ 'iberty', '$BOOSTREGEXLIB', '$BOOSTFSLIB' ], DOXY_XREF_TYPES = [ 'bug', 'fixme', 'todo', 'idea' ], DOXY_HTML_XSL = '#/doclib/html-munge.xsl', ENV = { 'TODAY' : str(datetime.date.today()), @@ -121,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') @@ -171,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',