summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_dist.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba/samba_dist.py')
-rw-r--r--buildtools/wafsamba/samba_dist.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_dist.py b/buildtools/wafsamba/samba_dist.py
index 871c111019..a2c75593f2 100644
--- a/buildtools/wafsamba/samba_dist.py
+++ b/buildtools/wafsamba/samba_dist.py
@@ -219,11 +219,13 @@ def DIST_DIRS(dirs):
dist_dirs = dirs
@conf
-def DIST_FILES(files):
+def DIST_FILES(files, extend=False):
'''set additional files for packaging, relative to top srcdir'''
global dist_files
if not dist_files:
dist_files = files
+ elif extend:
+ dist_files = dist_files + " " + files
@conf
def DIST_BLACKLIST(blacklist):