summaryrefslogtreecommitdiff
path: root/OMakefile
diff options
context:
space:
mode:
Diffstat (limited to 'OMakefile')
-rw-r--r--OMakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/OMakefile b/OMakefile
index 4749e59..9bf9184 100644
--- a/OMakefile
+++ b/OMakefile
@@ -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