nodejs: remove more unneeded stuff

This commit is contained in:
Dylan Araps 2021-07-06 16:04:54 +03:00
parent 85e9114ed1
commit cac0fd686c
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -15,6 +15,9 @@ ninja -C out/Release
tools/install.py install "$1" /usr
# Remove unneeded files.
rm -rf "$1/usr/include/node/openssl"
rm -rf "$1/usr/lib/node_modules/npm/scripts"
rm -f "$1/usr/lib/node_modules/npm/configure"
rm -rf \
"$1/usr/include/node/openssl" \
"$1/usr/share/doc" \
"$1/usr/share/systemtap" \
"$1/usr/lib/node_modules/npm/scripts" \
"$1/usr/lib/node_modules/npm/configure"