diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-15 00:31:25 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-15 00:31:25 -0500 |
commit | 5a44fadffe77e0c2bda0e57916ab573e547f9bf8 (patch) | |
tree | a759ee97bcb84f163bc15ee681763e7b8661799f | |
parent | 50ebb403afe09656c4f349266f3f93154f8ccd4a (diff) |
tweak how make cleans files
-rw-r--r-- | sitestatic/js.mk | 5 | ||||
-rw-r--r-- | visualize/static/Makefile | 2 |
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 #### |