diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 \ |