summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-22 12:00:48 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-22 12:00:48 +0000
commite1f95d71c54b07ad004d7e351dcabe63dc1620ca (patch)
tree1c98978d7978c579d0e75e451a88ae6beac3f3a5 /subr
parent63b0d7dbe8f34cc622b55e519ab0f35ef43ebd19 (diff)
downloadmidipix_build-e1f95d71c54b07ad004d7e351dcabe63dc1620ca.tar.bz2
midipix_build-e1f95d71c54b07ad004d7e351dcabe63dc1620ca.tar.xz
subr/{ex_setup,pkg_install}_subdirs.subr: create share/{doc,info,man}/ dirs & symlinks.
Diffstat (limited to 'subr')
-rw-r--r--subr/ex_setup_subdirs.subr8
-rw-r--r--subr/pkg_install_subdirs.subr5
2 files changed, 12 insertions, 1 deletions
diff --git a/subr/ex_setup_subdirs.subr b/subr/ex_setup_subdirs.subr
index 9385a339..c48fc94d 100644
--- a/subr/ex_setup_subdirs.subr
+++ b/subr/ex_setup_subdirs.subr
@@ -17,6 +17,8 @@ ex_setup_subdirs() {
/=${WORKDIR} \
/=${PREFIX} \
/=${PREFIX}/bin \
+ /=${PREFIX}/share/doc \
+ /=${PREFIX}/share/info \
/=${PREFIX}/share/man \
/=${PREFIX}/${TARGET}/bin \
/=${PREFIX}/${TARGET}/lib \
@@ -24,6 +26,8 @@ ex_setup_subdirs() {
/=${PREFIX_CROSS} \
/=${PREFIX_MINIPIX}/bin \
/=${PREFIX_NATIVE} \
+ /=${PREFIX_NATIVE}/share/doc \
+ /=${PREFIX_NATIVE}/share/info \
/=${PREFIX_NATIVE}/share/man \
/=${PREFIX_NATIVE}/${TARGET}/lib \
@.=${PREFIX}/usr \
@@ -34,7 +38,11 @@ ex_setup_subdirs() {
@bin=${PREFIX_MINIPIX}/lib \
@bin=${PREFIX_MINIPIX}/libexec \
@bin=${PREFIX_MINIPIX}/share \
+ @share/doc=${PREFIX}/doc \
+ @share/info=${PREFIX}/info \
@share/man=${PREFIX}/man \
+ @share/doc=${PREFIX_NATIVE}/doc \
+ @share/info=${PREFIX_NATIVE}/info \
@share/man=${PREFIX_NATIVE}/man;
};
diff --git a/subr/pkg_install_subdirs.subr b/subr/pkg_install_subdirs.subr
index 7cd87bf1..d754bd6c 100644
--- a/subr/pkg_install_subdirs.subr
+++ b/subr/pkg_install_subdirs.subr
@@ -7,10 +7,13 @@ pkg_install_subdirs() {
/=bin \
/=lib \
/=sbin \
+ /=share/doc \
+ /=share/info \
/=share/man/man1 \
- /=share/man \
@.=usr \
@lib=lib64 \
+ @share/doc=doc \
+ @share/info=info \
@share/man=man;
};