Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-09-23 00:48:09 +0400
committerisaacs <i@izs.me>2011-09-23 00:48:09 +0400
commit64ff08f53f4ea8c5a932537d3d2b0caf67ceb1d9 (patch)
tree36499e4a32140833a36d4bca7d0db8b0b2eef3ad /Makefile
parent205a05683f90de0e7b95a343450c1dd72f9cc999 (diff)
Alias doc-clean and doc-publish to docclean and docpublish
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 099358aa4..091735922 100644
--- a/Makefile
+++ b/Makefile
@@ -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