From: tho Date: Wed, 24 Mar 2010 10:18:48 +0000 (+0000) Subject: hack to modify the revision field in the documentation X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=66365b86efafab7559f2e744f6fa4648fc0219ea;p=senf.git hack to modify the revision field in the documentation git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1588 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/debian/SConscript b/debian/SConscript index 899b3f6..4ea8412 100644 --- a/debian/SConscript +++ b/debian/SConscript @@ -76,6 +76,11 @@ def dpkgIgnoredFilesOpts(target, source, env, for_signature): return [ '-I%s' % (('/' in f) and (os.path.split(os.getcwd())[1])+f or f) for f in env.subst('$DPKG_IGNORED_FILES').split() ] +if env.has_key('REVISION'): + rev = env['REVISION'] +else: + rev = "(Version %s)" % rev + env.Append( ENV = { 'REVISION': rev, 'LOGNAME' : logname, # needed by the debian build scripts diff --git a/doclib/Doxyfile b/doclib/Doxyfile index 8756efc..9cf7456 100644 --- a/doclib/Doxyfile +++ b/doclib/Doxyfile @@ -3,5 +3,5 @@ INPUT = . PROJECT_NAME = Overview -PROJECT_NUMBER = "(Version $(REVISION))" +PROJECT_NUMBER = "$(REVISION)" GENERATE_XML = NO