X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=debian%2FSConscript;h=33e6c81073c7467e0a94441c38d2cc7789729e23;hb=8c6873a925c79e6bb640f82895b31f4cbd84ef30;hp=769a7003608218a22f781af15bf51a8b1c7e5ba7;hpb=2e7dc69c3a63bac0a9df1abbcece62c03112a1ab;p=senf.git diff --git a/debian/SConscript b/debian/SConscript index 769a700..33e6c81 100644 --- a/debian/SConscript +++ b/debian/SConscript @@ -87,7 +87,8 @@ env.Append( ENV = { env.Replace( LOCAL_CONFIG_FILES = [ '/Doxyfile.local', '/SConscript.local', '/senf/local_config.hh' ], - DPKG_IGNORED_FILES = [ '$LOCAL_CONFIG_FILES', '.svn', '/_templates' ], + DPKG_IGNORED_FILES = [ '$LOCAL_CONFIG_FILES', '.svn', '.git', '.gitignore', '/_templates', + '/TODO', '.project', '.cproject', '.dir.el', '/.project.el' ], DPKG_IGNORED_FILES_OPTS = dpkgIgnoredFilesOpts, BUILDPACKAGE_COMMAND = "dpkg-buildpackage -us -uc -rfakeroot $DPKG_IGNORED_FILES_OPTS", ) @@ -96,7 +97,7 @@ env.PhonyTarget('deb', [], [ checkLocalConf, updateRevision, "$BUILDPACKAGE_COMMAND", - "fakeroot ./debian/rules debclean" + "fakeroot ./debian/rules clean" ]) env.PhonyTarget('debsrc', [], [ @@ -107,7 +108,9 @@ env.PhonyTarget('debsrc', [], [ env.PhonyTarget('debbin', [], [ checkLocalConf, updateRevision, - "$BUILDPACKAGE_COMMAND -b", + "$BUILDPACKAGE_COMMAND -b -nc", "fakeroot ./debian/rules debclean" ]) +if not os.environ.get('debian_build'): + env.Clean(env.Alias('all'), '#/debian/changelog')