X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=SConstruct;h=9870f209c4af7cbfb98a64c662b6e4a67cc953af;hb=ac86c2bb40746fbedf70a19af3307e5da642b04a;hp=fba2987867ddbb67f675aec51cafdc163bcf3a9f;hpb=a479735a65e334af538b895f182f8efd36a541c5;p=senf.git diff --git a/SConstruct b/SConstruct index fba2987..9870f20 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()), @@ -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',