summaryrefslogtreecommitdiff
path: root/lang/npm/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/npm/patches/patch-Makefile')
-rw-r--r--lang/npm/patches/patch-Makefile34
1 files changed, 17 insertions, 17 deletions
diff --git a/lang/npm/patches/patch-Makefile b/lang/npm/patches/patch-Makefile
index 9c605682f20..2aa23f41edc 100644
--- a/lang/npm/patches/patch-Makefile
+++ b/lang/npm/patches/patch-Makefile
@@ -1,24 +1,24 @@
-$NetBSD: patch-Makefile,v 1.2 2018/05/11 09:37:13 adam Exp $
+$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 2018-05-04 09:28:53.000000000 +0000
+--- Makefile.orig 2019-11-18 18:22:06.000000000 +0000
+++ Makefile
-@@ -23,7 +23,7 @@ files_mandocs = $(shell find doc/files -
- man/man5/npm-json.5 \
- man/man5/npm-global.5
+@@ -17,6 +17,7 @@ files_mandocs = $(shell find docs/conten
+ |sed 's|docs/content/configuring-npm/|man/man5/|g' ) \
--misc_mandocs = $(shell find doc/misc -name '*.md' \
-+misc_mandocs = $(shell find doc/misc -name '*.md' \! -name 'npm-index.md' \
+ misc_mandocs = $(shell find docs/content/using-npm -name '*.md' \
++ \! -name 'npm-index.md' \
|sed 's|.md|.7|g' \
- |sed 's|doc/misc/|man/man7/|g' ) \
- man/man7/npm-index.7
-@@ -39,7 +39,7 @@ files_htmldocs = $(shell find doc/files
- html/doc/files/npm-json.html \
- html/doc/files/npm-global.html
+ |sed 's|docs/content/using-npm/|man/man7/|g' ) \
--misc_htmldocs = $(shell find doc/misc -name '*.md' \
-+misc_htmldocs = $(shell find doc/misc -name '*.md' \! -name 'npm-index.md' \
- |sed 's|.md|.html|g' \
- |sed 's|doc/misc/|html/doc/misc/|g' ) \
- html/doc/index.html
+@@ -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