diff options
author | Roy Marples <roy@marples.name> | 2008-03-25 17:32:19 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-25 17:32:19 +0000 |
commit | 85b480a6f2bddff033c95b4e711a3c2b9d8cd74c (patch) | |
tree | 70a6a1c8af46953c33918927958ef7565d6eb61b /man/Makefile | |
parent | ae9ce044687fa3b94035a16bec1b54ed23eb9a9c (diff) |
Tweak man install.
Diffstat (limited to 'man/Makefile')
-rw-r--r-- | man/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/man/Makefile b/man/Makefile index df869608..120818f5 100644 --- a/man/Makefile +++ b/man/Makefile @@ -12,7 +12,7 @@ MAKE_LINKS= suffix=$${man\#*.}; \ -n -e '/^\.Sh NAME$$/,/\.Sh/ s/\.Nm //p' $${man}`; do \ if test "$${link}" != "$${prefix}" ; then \ ln -sf $${man} \ - ${DESTDIR}/${MANDIR}$${suffix}/$${link}.$${suffix} ; \ + ${DESTDIR}/${MANDIR}$/man${suffix}/$${link}.$${suffix} ; \ fi; \ done; @@ -23,14 +23,14 @@ include ${MK}/gitignore.mk all: install: - ${INSTALL} -d ${DESTDIR}/${MANDIR}3 + ${INSTALL} -d ${DESTDIR}/${MANDIR}/man3 for man in ${MAN3}; do \ - ${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}3 || exit $$?; \ + ${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man3 || exit $$?; \ ${MAKE_LINKS} \ done - ${INSTALL} -d ${DESTDIR}/${MANDIR}8 + ${INSTALL} -d ${DESTDIR}/${MANDIR}/man8 for man in ${MAN8}; do \ - ${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}8 || exit $$?; \ + ${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man8 || exit $$?; \ ${MAKE_LINKS} \ done |