diff options
-rw-r--r-- | OMakefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -93,12 +93,12 @@ testenv: echo ":: creating test environment in $(test_dir)" mkdir(-p $(test_dir)) ## beware the foreach() syntax trap: - ## http://lists.metaprl.org/pipermail/omake/2013-July/002253.html - foreach(file, $(glob $(src_dir)/*)) + ## http://lists.metaprl.org/pipermail/omake/2013-July/002256.html + foreach(file => ..., $(glob $(src_dir)/*)) symlink($(file), $(test_dir)/$(basename $(file))) - foreach(file, $(filter-out %OMakefile %.omc, $(glob $(doc_dir)/*))) + foreach(file => ..., $(filter-out %OMakefile %.omc, $(glob $(doc_dir)/*))) symlink($(file), $(test_dir)/$(basename $(file))) - foreach(file, $(glob $(misc_dir)/*)) + foreach(file => ..., $(glob $(misc_dir)/*)) symlink($(file), $(test_dir)/$(basename $(file))) ## nuke -- remove the entire build directory and packaged files |