From 79ea7c8324b4d34816410b3547880677b6383592 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Tue, 3 Mar 2015 15:52:10 +0100 Subject: Do not include config.cfg in archives from 'waf dist' --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wscript b/wscript index e749753e61..06ac7de1c8 100644 --- a/wscript +++ b/wscript @@ -30,6 +30,12 @@ if config["rtems_version_revision"]: VERSION = "%s.%d" % (VERSION, config["rtems_version_patch"]) APPNAME='rtems' +class Dist(Scripting.Dist): + algo = 'tar.bz2' # tar.gz, tar.bz2, tar.xz or zip + def get_excl(self): + # do not ship config.cfg in the archive + return Scripting.Dist.get_excl(self) + ' config.cfg' + pprint.__doc__ = None # Make sure waf doesn't see this as a command. -- cgit v1.2.3