diff options
author | P. J. McDermott <pjm@nac.net> | 2013-04-21 18:02:49 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-04-21 18:02:49 (EDT) |
commit | 4ba141f1c5cc4de2138079d43eaf24297dc9184b (patch) | |
tree | f41831b6f1cedfbacedfc664ebcb7e9461378ecc /build | |
parent | f79bf9c6d257ca72d1066368e8d66cd3e58302dd (diff) |
build: Clean up /usr/share/{man,info}.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |