summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-07-01 12:38:35 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-07-01 12:45:27 (EDT)
commita39f66c665e18cb0673b4f3076face8a4307711b (patch)
treef5c695ac385bed4df00e22c8c797088560138fe4 /build
parent5cf08b8daffc34d2d8da921a04e6f8d33b1f1aee (diff)
Install files into new binary packages.
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