lobase

Linux port of OpenBSDs userland.
Log | Files | Refs | README

commit d93d1d31627bfa22f669ba6b0116bed4840d1bee
parent e800c9a88f0a27eb5eaeb017a1384580d5eb216f
Author: Duncaen <mail@duncano.de>
Date:   Fri, 19 May 2017 03:39:59 +0200

mk/bsd.man.mk: add install rules

Diffstat:
mk/bsd.man.mk | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/mk/bsd.man.mk b/mk/bsd.man.mk @@ -0,0 +1,19 @@ + +install: maninstall + +VPATH+=${.CURDIR} + +maninstall: _maninstall + +_maninstall: ${MAN} + for f in $^; do \ + s=$${f##*.}; \ + test -d "${DESTDIR}${MANDIR}$$s" || \ + $(INSTALL) -d -m 755 "${DESTDIR}${MANDIR}$$s"; \ + ${INSTALL} -m ${MANMODE} "$$f" "${DESTDIR}${MANDIR}$$s/$${f##*/}"; \ + done + + +manlint: + +.PHONY: install maninstall _maninstall manlint