diff options
author | isaacs <i@izs.me> | 2011-04-21 11:11:55 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-04-21 11:11:55 +0400 |
commit | 4f0d3340fb9b10dd5ffd772e509fec5ccf1f4f50 (patch) | |
tree | e4ff03e4883e3c2a437f2a2e05db70ef3d186b6c /Makefile | |
parent | f32af473723d4227b5ebd8534323524c5183839b (diff) |
Less warning, better style
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -32,12 +32,12 @@ clean: uninstall uninstall: submodules node cli.js cache clean - node cli.js rm npm -g -f + node cli.js rm npm -g -f --loglevel error man: man1 man1: $(doc_subfolders) - @if ! test -d man1 ; then mkdir -p man1 ; fi + [ -d man1 ] || mkdir -p man1 doc: man1 $(docs) @@ -47,18 +47,18 @@ man1/%.1: doc/%.md ./node_modules/.bin/ronn --roff $< > $@ man1/%/: doc/%/ - @if ! test -d $@ ; then mkdir -p $@ ; fi + @[ -d $@ ] || mkdir -p $@ test: submodules node cli.js test version: link - git add package.json \ - && git ci -m v$(shell npm -v) + git add package.json &&\ + git ci -m v$(shell npm -v) publish: link - git tag -s -m v$(shell npm -v) v$(shell npm -v) \ - && git push origin master \ - && npm publish + git tag -s -m v$(shell npm -v) v$(shell npm -v) &&\ + git push origin master &&\ + npm publish .PHONY: latest install dev link doc clean uninstall test man |