summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-24 19:47:47 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-24 19:50:37 (EDT)
commitfcca5bf324f9f0ff8283590b57b19eca0a816926 (patch)
tree3aaf39f416fd0efd3e577177cc4f9f086644c7ab /build
parent6c5b8d789733d0a4931b187c578257c73ec5f575 (diff)
SONAME bump
Diffstat (limited to 'build')
-rwxr-xr-xbuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/build b/build
index bedca18..0108338 100755
--- a/build
+++ b/build
@@ -2,6 +2,8 @@
include ../source.mk
+abi_ver = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | sed 's/[.].*//')
+
nop:
@:
@@ -17,9 +19,10 @@ install: build
oh-autoinstall
# Remove static libraries.
rm -f dest/usr/lib/$(OPK_HOST_ARCH)/*.a
- # Put all documentation files in /usr/share/doc/libreadline.6/.
- mkdir -p dest/usr/share/doc/libreadline.6
- mv dest/usr/share/readline dest/usr/share/doc/libreadline.6/examples
+ # Put all documentation files in /usr/share/doc/libreadline.*/.
+ mkdir -p dest/usr/share/doc/libreadline.$(abi_ver)
+ mv dest/usr/share/readline \
+ dest/usr/share/doc/libreadline.$(abi_ver)/examples
# Remove source package documentation.
rm -f \
dest/usr/share/doc/readline/CHANGES \