From 79e7eae6c5af2b42297536ca9aacaacf01b67242 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 2 Mar 2014 13:09:16 +0100 Subject: use correct foreach() syntax on OMakefile --- OMakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OMakefile') 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 -- cgit v1.2.3