From 4ba141f1c5cc4de2138079d43eaf24297dc9184b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Apr 2013 18:02:49 -0400 Subject: build: Clean up /usr/share/{man,info}. --- 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 -- cgit v0.9.1