diff options
author | adam <adam@pkgsrc.org> | 2018-05-04 09:40:02 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-05-04 09:40:02 +0000 |
commit | a2e80219bc31ced3abb9e3f4fae9a960e6d0d0dd (patch) | |
tree | 2a78c416ac6e7b82f4a00a6823f09e7015c27d38 /lang/npm/patches | |
parent | 241ac3856ccaf978e2d16b9650753958b68c1860 (diff) | |
download | pkgsrc-a2e80219bc31ced3abb9e3f4fae9a960e6d0d0dd.tar.gz |
npm: fixes for rebuild; small cleanups
Diffstat (limited to 'lang/npm/patches')
-rw-r--r-- | lang/npm/patches/patch-Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/npm/patches/patch-Makefile b/lang/npm/patches/patch-Makefile new file mode 100644 index 00000000000..a7641392a18 --- /dev/null +++ b/lang/npm/patches/patch-Makefile @@ -0,0 +1,24 @@ +$NetBSD: patch-Makefile,v 1.1 2018/05/04 09:40:02 adam Exp $ + +Do not build npm-index.html on rebuild. + +--- Makefile.orig 2018-05-04 09:28:53.000000000 +0000 ++++ Makefile +@@ -23,7 +23,7 @@ files_mandocs = $(shell find doc/files - + man/man5/npm-json.5 \ + man/man5/npm-global.5 + +-misc_mandocs = $(shell find doc/misc -name '*.md' \ ++misc_mandocs = $(shell find doc/misc -name '*.md' -not -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 + +-misc_htmldocs = $(shell find doc/misc -name '*.md' \ ++misc_htmldocs = $(shell find doc/misc -name '*.md' -not -name 'npm-index.md' \ + |sed 's|.md|.html|g' \ + |sed 's|doc/misc/|html/doc/misc/|g' ) \ + html/doc/index.html |