Skip to content

Commit 9feaf47

Browse files
committed
Merge pull request #189 from stephenmathieson/fix/gh-162
Makefile: add a `distclean` target
2 parents 0a8e4b7 + 2de6469 commit 9feaf47

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ all: dist/debug.js
1616
install: node_modules
1717

1818
clean:
19-
@rm -rf node_modules dist
19+
@rm -rf dist
2020

2121
dist:
2222
@mkdir -p $@
@@ -26,8 +26,11 @@ dist/debug.js: node_modules browser.js debug.js dist
2626
--standalone debug \
2727
. > $@
2828

29+
distclean: clean
30+
@rm -rf node_modules
31+
2932
node_modules: package.json
3033
@NODE_ENV= $(NPM) install
3134
@touch node_modules
3235

33-
.PHONY: all install clean
36+
.PHONY: all install clean distclean

0 commit comments

Comments
 (0)