18 lines
366 B
Python
18 lines
366 B
Python
#!/usr/bin/python
|
|
import shutil
|
|
from config import *
|
|
|
|
lib = "../lib/" + application + "/%s"
|
|
|
|
def copy_xml(target, source, env):
|
|
dst = str(target[0].rfile())
|
|
src = str(source[0].rfile())
|
|
shutil.copy(src, dst)
|
|
|
|
files = []
|
|
if application == "ocarina":
|
|
dst = lib % "ocarina.xml"
|
|
files.append(AlwaysBuild(env.Command(dst, "ocarina.xml", copy_xml)))
|
|
|
|
Return('files')
|