Permalink
Browse files

Alias doc-clean and doc-publish to docclean and docpublish

  • Loading branch information...
1 parent 205a056 commit 64ff08f53f4ea8c5a932537d3d2b0caf67ceb1d9 @isaacs isaacs committed Sep 22, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 Makefile
View
@@ -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

0 comments on commit 64ff08f

Please sign in to comment.