summaryrefslogtreecommitdiff
path: root/lang/npm/patches/patch-Makefile
blob: 0b51735b60a0eb803bfcdb40e17a3278586c0b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-Makefile,v 1.5 2022/05/05 10:52:39 adam Exp $

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

--- Makefile.orig	2022-04-26 22:02:20.000000000 +0000
+++ Makefile
@@ -19,6 +19,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' )
 
@@ -28,7 +29,7 @@ markdown_docs = $(shell for file in $(fi
 
 all: docs
 
-docs: mandocs htmldocs $(markdown_docs)
+docs: mandocs $(markdown_docs)
 
 # don't regenerate the snapshot if we're generating
 # snapshots, since presumably we just did that.