X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=debian%2FSConscript;h=6997332142792eaa4f9690443f9fcda6b2f12f78;hb=4d7356cbd92801bc0c4bec27fffe3b0024807185;hp=769a7003608218a22f781af15bf51a8b1c7e5ba7;hpb=2e7dc69c3a63bac0a9df1abbcece62c03112a1ab;p=senf.git diff --git a/debian/SConscript b/debian/SConscript index 769a700..6997332 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')