From: Jordan Augé Date: Fri, 21 Feb 2014 13:14:48 +0000 (+0100) Subject: fixed Makefile X-Git-Tag: myslice-1.1~327^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ca288746c74cc07f45de29f111cba830c21eb841;p=myslice.git fixed Makefile --- diff --git a/Makefile b/Makefile index ca83b860..f5bfb0c6 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ plugins-templates: force @find plugins -type f -name '*.html' local-templates: force #@$(foreach tmpl,$(shell find . -name templates | grep -v '^\./templates$$'),ls -1 $(tmpl)/*;) - @$(foreach tmpl,$(shell find . -name templates | grep -v '^\./templates$$'),find $x -type f -name *.html;) + $(foreach tmpl,$(shell find . -name templates | grep -v '^\./templates$$'),find $(tmpl) -maxdepth 1 -type f -name *.html;) list-templates: plugins-templates local-templates