15 lines
430 B
Python
15 lines
430 B
Python
# -*- python -*-
|
|
|
|
import os, fnmatch
|
|
Import('env')
|
|
|
|
def findFiles(pattern, subdir=''):
|
|
files = []
|
|
for file in os.listdir(os.path.join(Dir('.').srcnode().abspath, subdir)):
|
|
if fnmatch.fnmatch(file, pattern):
|
|
files.append(os.path.join(subdir, file))
|
|
return files
|
|
|
|
Alias('install', env.Install('$pkgdatadir/waves', 'README' ))
|
|
Alias('install', env.Install('$pkgdatadir/waves', findFiles('*.la')))
|