X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=ca83b860125a4b643d399423c09b2ee4c4ffd316;hb=6bf27230dc7f6b6db5f952b247d82f07d962a1eb;hp=ad27d39514fd754ea4b4ed4dd43172ac2ea1ef5d;hpb=73c56c22ad3fad69695018c4dea8a0d22cd5727c;p=myslice.git 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