SCons build:

* ExtraDist() did not work if called with File nodes. Fixed.
* Explicitly added some files (which are no longer installed since
  r395) to the 'dist' target.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@397 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
htgoebel 2005-01-07 15:51:52 +00:00
parent 98b1d5542f
commit 4f85ff54d0
2 changed files with 5 additions and 4 deletions

View File

@ -15,3 +15,7 @@ env.Alias('install', [
#env.InstallAs('$sysconfdir/cron.daily/capisuite', cronfile),
#env.InstallAs('$pkgsysconfdir/cronjob.conf','cronjob.conf'),
])
# Since these are not installed, we need to list them for
# distribuition explicitly
env.ExtraDist([cronfile, rcfile, 'cronjob.conf'])

View File

@ -128,10 +128,7 @@ class InstallableEnv(Environment):
def ExtraDist(self, files):
"""Collect Additional files to be distributed."""
if SCons.Util.is_List(files):
files = map(File, files)
else:
files = File(files)
files = self.arg2nodes(files, self.File)
env.Append(__SOURCES=files)
#