X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=debian%2FSConscript;fp=debian%2FSConscript;h=4ea8412e3f9f48f32d9d550d119df27b4933f51a;hb=66365b86efafab7559f2e744f6fa4648fc0219ea;hp=899b3f618647666d3ee6b2e406f6733a9fb6b08b;hpb=1ec4c14339e1dbc9a56be7fb528d089e1f37600c;p=senf.git 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