From 6bf27230dc7f6b6db5f952b247d82f07d962a1eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jordan=20Aug=C3=A9?= Date: Fri, 21 Feb 2014 12:41:58 +0100 Subject: [PATCH] fixed makefile for template collection --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ad27d395..ca83b860 100644 --- a/Makefile +++ b/Makefile @@ -71,14 +71,20 @@ debian.clean: 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$$'),ls -1 $(tmpl)/*;) + @$(foreach tmpl,$(shell find . -name templates | grep -v '^\./templates$$'),find $x -type f -name *.html;) + list-templates: plugins-templates local-templates #################### manage templates for the plugin area templates: force - mkdir -p templates - ln -sf $(foreach x,$(shell $(MAKE-SILENT) list-templates),../$(x)) ./templates + @mkdir -p templates + @echo "----" + @echo $(shell $(MAKE-SILENT) list-templates) + @echo "----" + @echo $(foreach x,$(shell $(MAKE-SILENT) list-templates),../$(x)) + #ln -sf $(foreach x,$(shell $(MAKE-SILENT) list-templates),../$(x)) ./templates clean-templates templates-clean: force rm -rf ./templates -- 2.43.0