summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/build b/build
index 4a5fb98..4c2d40e 100755
--- a/build
+++ b/build
@@ -11,5 +11,19 @@ build:
install: build
oh-autoinstall
+ # Remove unversioned links to internal libraries.
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextlib.so
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextsrc.so
+ # Remove GNU Libtool archive files.
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libasprintf.la
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextlib.la
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextpo.la
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextsrc.la
+ # Put all documentation files in /usr/share/doc/gettext-base/.
+ mkdir -p dest/usr/share/doc/gettext-base/
+ mv dest/usr/share/doc/*/* dest/usr/share/doc/gettext-base/
+ ln -sf gettext_toc.html dest/usr/share/doc/gettext-base/index.html
+ # Remove GNU Info index.
+ rm -f dest/usr/share/info/dir
oh-strip
oh-installfiles