]> git.donarmstrong.com Git - debbugs.git/commitdiff
fix foreach issue in makefile
authorDon Armstrong <don@donarmstrong.com>
Thu, 18 Sep 2008 02:58:31 +0000 (19:58 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 18 Sep 2008 02:58:31 +0000 (19:58 -0700)
Makefile

index f2cdf3dc78bda116616975e932ea8694fdbbf056..152e75099ce994e117c0b2e9ac5e9e8f44a2d1de 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -86,8 +86,8 @@ $(var_dir)/spool/db-h $(scripts_dir) $(examples_dir) $(man8_dir); \
        $(install_data) misc/updateseqs $(var_dir)/spool
 
        # install the templates
-       $(foreach dir, $(wildcard templates/*/*), $(exec $(install_exec) $(template_dir)/$(patsubst templates/%,%,$(dir))))
-       $(foreach tmpl, $(wildcard templates/*/*/*.tmpl), $(exec $(install_data) $(template_dir)/$(patsubst templates/%,%,$(tmpl))))
+       $(foreach dir, $(wildcard templates/*/*), $(exec -d $(install_exec) $(template_dir)/$(patsubst templates/%,%,$(dir))))
+       $(foreach tmpl, $(wildcard templates/*/*/*.tmpl), $(exec $(install_data) $(tmpl) $(template_dir)/$(patsubst templates/%,%,$(tmpl))))
 
 
 .PHONY: test
\ No newline at end of file