X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=69725db55ad12a834e53e3de074c31d18643849a;hb=c87f5c0a32a23075ba4da344da1a4c93095c24e7;hp=ad27d39514fd754ea4b4ed4dd43172ac2ea1ef5d;hpb=f8a556326c2a66f26f8b2114c0a6d03985b671c0;p=unfold.git diff --git a/Makefile b/Makefile index ad27d395..69725db5 100644 --- a/Makefile +++ b/Makefile @@ -71,14 +71,17 @@ debian.clean: plugins-templates: force @find plugins -type f -name '*.html' local-templates: force + @$(foreach tmpl,$(shell find . -name templates | grep -v '^\./templates$$'),find $(tmpl) -maxdepth 2 -type f -name *.html;) +local-templates2: force @$(foreach tmpl,$(shell find . -name templates | grep -v '^\./templates$$'),ls -1 $(tmpl)/*;) + 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 + ln -sf $(foreach x,$(shell $(MAKE-SILENT) list-templates),"../$(x)") ./templates clean-templates templates-clean: force rm -rf ./templates