summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sitestatic/js.mk2
-rw-r--r--visualize/static/Makefile17
2 files changed, 10 insertions, 9 deletions
diff --git a/sitestatic/js.mk b/sitestatic/js.mk
index abee075b..d20eca18 100644
--- a/sitestatic/js.mk
+++ b/sitestatic/js.mk
@@ -1,4 +1,4 @@
-closurecompiler=compiler() { cp "$$1" "$${1%.js}.min.js"; }; compiler
+closurecompiler=@compiler() { cp "$$1" "$${1%.js}.min.js"; echo "compiler $$*"; }; compiler
%.min.js: %.js
$(closurecompiler) '$<'
diff --git a/visualize/static/Makefile b/visualize/static/Makefile
index f88804ec..9242468e 100644
--- a/visualize/static/Makefile
+++ b/visualize/static/Makefile
@@ -14,14 +14,15 @@ clean: PHONY
####
d3.%: .d3/d3-$(d3version)/d3.% .d3/d3-$(d3version)/LICENSE Makefile
- echo '/* $@ - Data Driven Documents' > $@
- echo ' * Version: $(d3version)' >> $@
- echo ' * Homepage: http://mbostock.github.com/d3/' >> $@
- echo ' * Copyright: 2010, Michael Bostock' >> $@
- echo ' * Licence: 3-Clause BSD' >> $@
- echo ' *' >> $@
- sed 's/.*/ * &/' $(<D)/LICENSE >> $@
- echo ' */' >> $@
+ @echo '[D3-HEADER] > $@'
+ @echo '/* $@ - Data Driven Documents' > $@
+ @echo ' * Version: $(d3version)' >> $@
+ @echo ' * Homepage: http://mbostock.github.com/d3/' >> $@
+ @echo ' * Copyright: 2010, Michael Bostock' >> $@
+ @echo ' * Licence: 3-Clause BSD' >> $@
+ @echo ' *' >> $@
+ @sed 's/.*/ * &/' $(<D)/LICENSE >> $@
+ @echo ' */' >> $@
cat $< >> $@
.d3/d3-%.tar.gz: Makefile