$NetBSD: patch-Makefile,v 1.3 2019/11/24 20:21:23 adam Exp $

Do not build npm-index.html on rebuild.
Do not build htmldocs, as these need some binary packages.

--- Makefile.orig	2019-11-18 18:22:06.000000000 +0000
+++ Makefile
@@ -17,6 +17,7 @@ files_mandocs = $(shell find docs/conten
                |sed 's|docs/content/configuring-npm/|man/man5/|g' ) \
 
 misc_mandocs = $(shell find docs/content/using-npm -name '*.md' \
+               \! -name 'npm-index.md' \
                |sed 's|.md|.7|g' \
                |sed 's|docs/content/using-npm/|man/man7/|g' ) \
 
@@ -53,7 +54,7 @@ htmldocs:
 	node ../bin/npm-cli.js run build:static echo>&2 && \
 	rm -rf node_modules .cache public/*js public/*json public/404* public/page-data public/manifest*
 
-docs: mandocs htmldocs
+docs: mandocs
 
 markedclean:
 	rm -rf node_modules/marked node_modules/.bin/marked .building_marked
