summaryrefslogtreecommitdiff
path: root/sitestatic/js.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sitestatic/js.mk')
-rw-r--r--sitestatic/js.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/sitestatic/js.mk b/sitestatic/js.mk
index 7a8783ce..abee075b 100644
--- a/sitestatic/js.mk
+++ b/sitestatic/js.mk
@@ -2,3 +2,14 @@ closurecompiler=compiler() { cp "$$1" "$${1%.js}.min.js"; }; compiler
%.min.js: %.js
$(closurecompiler) '$<'
+
+.gitignore: FORCE
+ for file in $(gitignore) $(targets); do echo $$file; done | sort > $@
+
+clean: PHONY
+distclean: clean
+ rm -f $(targets)
+
+FORCE: PHONY
+PHONY:
+.PHONY: PHONY