summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Nagy <tnagy2pow10@gmail.com>2015-03-03 15:52:10 +0100
committerThomas Nagy <tnagy2pow10@gmail.com>2015-03-03 15:52:10 +0100
commit2304811f219e8199bb077a77ab962b1b05dc9364 (patch)
tree170a7a4dc9261f677e79de753f715db17652ed35
parentd2b2bba1ff02415fb33c40796e2e6f8c0f300554 (diff)
Do not include config.cfg in archives from 'waf dist'
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
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.