From 5b862fdf609281335dcd0a5f6732791e1cb0bb52 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 21 Aug 2013 11:52:13 +0800 Subject: [PATCH] Also copy gyp files when copying headers. --- script/create-dist.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/script/create-dist.py b/script/create-dist.py index 83f1d1873..74cb36933 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -28,9 +28,10 @@ HEADERS_DIRS = [ 'deps/v8', 'deps/zlib', 'deps/uv', - 'tools', ] HEADERS_FILES = [ + 'common.gypi', + 'config.gypi', ] @@ -66,6 +67,8 @@ def copy_headers(): if extension not in HEADERS_SUFFIX: continue copy_source_file(os.path.join(dirpath, filename)) + for other_file in HEADERS_FILES: + copy_source_file(os.path.join(NODE_DIR, other_file)) def copy_license():