import Options # binary unsubstitutable files: bld.install_files("${CPLIBDIR}",bld.path.ant_glob("images/**",src=True,bld=False,dir=False,flat=True),cwd=bld.path,relative_trick=True) # text substitutable files (substitute with tokens from the environment bld.env): bld.substitute('css/** js/** ui/** scripts/**',install_to="${CPLIBDIR}") # config files (do not replace them if preserve config option is true) if not Options.options.PRESERVECONFIG: bld.install_files_filtered("${CPSYSCONFDIR}","conf.dom0/*")