summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/build b/build
index a78112f..0e3cc8f 100755
--- a/build
+++ b/build
@@ -164,6 +164,11 @@ install: build
dest/usr/lib/$(OPK_HOST_ARCH)/libitm.la \
dest/usr/lib/$(OPK_HOST_ARCH)/libstdc++.la \
dest/usr/lib/$(OPK_HOST_ARCH)/libsupc++.la
+ # Remove the info directory node.
+ rm -f dest/usr/share/info/dir
+ # Remove empty documentation files.
+ find dest/usr/share/man -type f -a -size 0c -a -exec rm -f '{}' ';'
+ find dest/usr/share/info -type f -a -size 0c -a -exec rm -f '{}' ';'
# POSIX.1-2008:
# If the pathname does not begin with a '/' it shall be treated as relative to