summaryrefslogtreecommitdiff
path: root/OMakefile
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2014-03-02 13:09:16 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2018-12-02 21:09:41 +0100
commit79e7eae6c5af2b42297536ca9aacaacf01b67242 (patch)
tree6c43d1d2503be9b9914e205546b1c6aaf667acd0 /OMakefile
parentbac5f9243816fe47eee2bc6a3296d9b3d4e9fc1c (diff)
downloadcontext-rst-79e7eae6c5af2b42297536ca9aacaacf01b67242.tar.gz
use correct foreach() syntax on OMakefile
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