From 3c68781d3de0c9e2b54869bf155df2120f098c58 Mon Sep 17 00:00:00 2001 From: Les Aker Date: Wed, 27 Jul 2016 10:47:26 -0400 Subject: [PATCH] Adjust make-install.sh to create numbered mandir --- make-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make-install.sh b/make-install.sh index ff01808..1ea5c34 100755 --- a/make-install.sh +++ b/make-install.sh @@ -39,11 +39,12 @@ echo "=== `date` === finishing" confman="`head -1 conf-man`" mandir=`echo "$1/${confman}" | sed 's,//,/,g'` echo "=== `date` === installing man directory ${mandir}" -mkdir -p "${bindir}" || exit 111 +mkdir -p "${mandir}" || exit 111 ls "${man}" | sort |\ while read x do n=`echo "${x}" | cut -d'.' -f2` + mkdir -p "${mandir}/man${n}" || exit 111 "${installcmd}" "${man}/${x}" "${mandir}/man${n}" "${x}.tmp" "${x}" || exit 111 echo "=== `date` === installing ${man}/${x} -> ${mandir}/man${n}/${x}" done || exit 111