diff options
-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 #### |