From accd1f69deadcfa3988d9a7d16dafcd6d4176ef0 Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Thu, 8 Mar 2012 15:10:19 -0800 Subject: [PATCH] install: extract *all* .h files Should prevent any problems with selectively picking header files to install. --- lib/install.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/install.js b/lib/install.js index 95ff1a3..e247d46 100644 --- a/lib/install.js +++ b/lib/install.js @@ -298,11 +298,7 @@ function install (gyp, argv, callback) { function valid (file) { // header files return minimatch(file, 'src/*.h') - || minimatch(file, 'deps/http_parser/**/*.h') - || minimatch(file, 'deps/openssl/openssl/include/**/*.h') - || minimatch(file, 'deps/v8/include/**/*.h') - || minimatch(file, 'deps/uv/include/**/*.h') - || minimatch(file, 'deps/zlib/**/*.h') + || minimatch(file, 'deps/**/*.h') // non-legacy versions of node also extract the gyp build files || (!isLegacy && (minimatch(file, '*.gypi')