diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2014-03-02 13:09:16 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2018-12-02 21:09:41 +0100 |
commit | 79e7eae6c5af2b42297536ca9aacaacf01b67242 (patch) | |
tree | 6c43d1d2503be9b9914e205546b1c6aaf667acd0 /OMakefile | |
parent | bac5f9243816fe47eee2bc6a3296d9b3d4e9fc1c (diff) | |
download | context-rst-79e7eae6c5af2b42297536ca9aacaacf01b67242.tar.gz |
use correct foreach() syntax on OMakefile
Diffstat (limited to 'OMakefile')
-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 |