git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed makefile for template collection
[myslice.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ad27d39
..
ca83b86
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-71,14
+71,20
@@
debian.clean:
plugins-templates: force
@find plugins -type f -name '*.html'
local-templates: force
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
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
clean-templates templates-clean: force
rm -rf ./templates