Merge pull request #189 from stephenmathieson/fix/gh-162

Makefile: add a `distclean` target
This commit is contained in:
Nathan Rajlich 2015-03-26 09:45:26 -07:00
commit 9feaf475a4

View File

@ -16,7 +16,7 @@ all: dist/debug.js
install: node_modules
clean:
@rm -rf node_modules dist
@rm -rf dist
dist:
@mkdir -p $@
@ -26,8 +26,11 @@ dist/debug.js: node_modules browser.js debug.js dist
--standalone debug \
. > $@
distclean: clean
@rm -rf node_modules
node_modules: package.json
@NODE_ENV= $(NPM) install
@touch node_modules
.PHONY: all install clean
.PHONY: all install clean distclean