From ca288746c74cc07f45de29f111cba830c21eb841 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jordan=20Aug=C3=A9?= Date: Fri, 21 Feb 2014 14:14:48 +0100 Subject: [PATCH] fixed Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.0