X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=f5bfb0c6b434c2c6c69bf459be464f61f1a642a5;hb=03dfe4e173d4ff67c821e29e36e5b872c533a4f2;hp=ca83b860125a4b643d399423c09b2ee4c4ffd316;hpb=6bf27230dc7f6b6db5f952b247d82f07d962a1eb;p=unfold.git 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