summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-15 00:31:25 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-15 00:31:25 -0500
commit5a44fadffe77e0c2bda0e57916ab573e547f9bf8 (patch)
treea759ee97bcb84f163bc15ee681763e7b8661799f
parent50ebb403afe09656c4f349266f3f93154f8ccd4a (diff)
tweak how make cleans files
-rw-r--r--sitestatic/js.mk5
-rw-r--r--visualize/static/Makefile2
2 files changed, 5 insertions, 2 deletions
diff --git a/sitestatic/js.mk b/sitestatic/js.mk
index d20eca18..4c803be6 100644
--- a/sitestatic/js.mk
+++ b/sitestatic/js.mk
@@ -7,9 +7,12 @@ closurecompiler=@compiler() { cp "$$1" "$${1%.js}.min.js"; echo "compiler $$*";
for file in $(gitignore) $(targets); do echo $$file; done | sort > $@
clean: PHONY
-distclean: clean
+distclean-hook: clean
+distclean: clean distclean-hook
rm -f $(targets)
FORCE: PHONY
PHONY:
.PHONY: PHONY
+
+.SECONDARY:
diff --git a/visualize/static/Makefile b/visualize/static/Makefile
index 9242468e..92340883 100644
--- a/visualize/static/Makefile
+++ b/visualize/static/Makefile
@@ -8,7 +8,7 @@ gitignore=.d3
all: .d3/d3-$(d3version) .gitignore
$(MAKE) $(targets)
-clean: PHONY
+distclean-hook: PHONY
rm -rf .d3
####