summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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;
};