Merge commit '9276b3991ba20d5a5660887ba81b0bc7bed25a0c'
[unleashed.git] / share / man / Makefile.inc
blob58f53ad86287bf7c000fbdf77969c74f88a25013
1 .if !empty(MAN) && !target(install)
2 MANDIR= ${DESTDIR}/usr/share/man/${.CURDIR:T}
3 install:
4         ${INSTALL} -d ${MAN_INSTALL_OWN} -m ${DIRMODE} ${MANDIR}
5         ${INSTALL} ${COPY} ${MAN_INSTALL_OWN}  -m ${MANMODE} ${MAN} \
6             ${MANDIR}
7 .endif