X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=debian%2FSConscript;h=899b3f618647666d3ee6b2e406f6733a9fb6b08b;hb=18d987b03ac188adf6e1a82ebce2666738f0ff65;hp=6997332142792eaa4f9690443f9fcda6b2f12f78;hpb=ae081e2733dee85ff8fe024150d41b38ea8d8140;p=senf.git diff --git a/debian/SConscript b/debian/SConscript index 6997332..899b3f6 100644 --- a/debian/SConscript +++ b/debian/SConscript @@ -66,9 +66,7 @@ if os.environ.get('debian_build'): else: rev = 'r' + os.popen("svnversion").read().strip().lower() if rev == 'rexported': - rev = 'r' + os.popen("gitsvnversion").read().strip().lower() - if rev == '': - rev = 'unknown' + rev = os.popen("gitsvnversion").read().strip().lower() logname = os.environ.get('LOGNAME') if not logname: @@ -88,7 +86,7 @@ env.Append( ENV = { env.Replace( LOCAL_CONFIG_FILES = [ '/Doxyfile.local', '/SConscript.local', '/senf/local_config.hh' ], DPKG_IGNORED_FILES = [ '$LOCAL_CONFIG_FILES', '.svn', '.git', '.gitignore', '/_templates', - '/TODO', '.project', '.cproject', '.dir.el', '/project.el' ], + '/TODO', '.project', '.cproject', '.dir.el', '/.project.el' ], DPKG_IGNORED_FILES_OPTS = dpkgIgnoredFilesOpts, BUILDPACKAGE_COMMAND = "dpkg-buildpackage -us -uc -rfakeroot $DPKG_IGNORED_FILES_OPTS", )