From 4429645b3538e1cda54d8d1b7ecb3da7a88fdd3c Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Mon, 2 Dec 2019 18:43:01 -0500 Subject: [PATCH] makefile: fix docs target typo A few references to the `doc` target were not updated to `docs` in https://github.com/npm/cli/pull/274 and resulted in `make release` not building the docs. PR-URL: https://github.com/npm/cli/pull/546 Credit: @richardlau Close: #546 Reviewed-by: @mikemimik --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 11e656c43a458..dde925f1c438c 100644 --- a/Makefile +++ b/Makefile @@ -129,11 +129,11 @@ publish: gitclean ls-ok link docs-clean docs git push origin --tags &&\ node bin/npm-cli.js publish --tag=$(PUBLISHTAG) -release: gitclean ls-ok markedclean marked-manclean docs-clean doc +release: gitclean ls-ok markedclean marked-manclean docs-clean docs node bin/npm-cli.js prune --production --no-save @bash scripts/release.sh sandwich: @[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || (echo "make it yourself" && exit 13) -.PHONY: all latest install dev link doc clean uninstall test man docs-clean docclean release ls-ok realclean +.PHONY: all latest install dev link docs clean uninstall test man docs-clean docclean release ls-ok realclean