diff options
author | isaacs <i@izs.me> | 2011-09-23 00:48:09 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-09-23 00:48:09 +0400 |
commit | 64ff08f53f4ea8c5a932537d3d2b0caf67ceb1d9 (patch) | |
tree | 36499e4a32140833a36d4bca7d0db8b0b2eef3ad /Makefile | |
parent | 205a05683f90de0e7b95a343450c1dd72f9cc999 (diff) |
Alias doc-clean and doc-publish to docclean and docpublish
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -47,6 +47,7 @@ uninstall: submodules doc: node_modules/ronn $(mandocs) $(htmldocs) +docclean: doc-clean doc-clean: rm -rf node_modules/ronn doc/index.md $(mandocs) $(htmldocs) &>/dev/null || true @@ -82,7 +83,11 @@ publish: link npm publish &&\ make doc-publish +docpublish: doc-publish doc-publish: doc rsync -vazu --stats --no-implied-dirs --delete html/doc/ npmjs.org:/var/www/npmjs.org/public/doc -.PHONY: all latest install dev link doc clean uninstall test man doc-publish doc-clean +sandwich: + @[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || echo "make it yourself" + +.PHONY: all latest install dev link doc clean uninstall test man doc-publish doc-clean docclean docpublish |