summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-23 18:42:38 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-23 18:44:23 +0000
commita04c8b80d32557fcd8827d4747ea6766e898b787 (patch)
tree1c983c71c9b2642ced9093e373d0c2cbaaf84b05 /subr
parent58db1f5e8d4892364530ddd94305720fe3a58c5a (diff)
downloadmidipix_build-a04c8b80d32557fcd8827d4747ea6766e898b787.tar.bz2
midipix_build-a04c8b80d32557fcd8827d4747ea6766e898b787.tar.xz
vars/git.vars: fix manpage filename generation (via Redfoxmoon.)
subr/build.subr: ensure ${PREFIX_NATIVE}/man is a symlink to ${...}/share/man. Followup to <b5933a508096cb77de8e1fedab23c97aec9d4626>.
Diffstat (limited to 'subr')
-rw-r--r--subr/build.subr4
1 files changed, 4 insertions, 0 deletions
diff --git a/subr/build.subr b/subr/build.subr
index 66e45f65..6078cc40 100644
--- a/subr/build.subr
+++ b/subr/build.subr
@@ -76,6 +76,10 @@ create_dirs() {
secure_rm "${__}"; ln -sf -- . "${__}";
fi;
done;
+ if [ ! -L ${PREFIX_NATIVE}/man ]; then
+ secure_rm ${PREFIX_NATIVE}/man;
+ ln -sf share/man ${PREFIX_NATIVE}/man;
+ fi;
insecure_mkdir ${PREFIX_MINIPIX}/bin;
for __ in lib libexec share; do
if [ ! -e ${PREFIX_MINIPIX}/${__} ]; then