e618151be9
patch from Nathanael Rensen <nathanael at list dot polymorpheus dot com>, minimally tweaked by me; OK matthieu@
24 lines
615 B
Makefile
24 lines
615 B
Makefile
# $OpenBSD: Makefile.bsd-wrapper,v 1.21 2019/05/05 23:27:58 schwarze Exp $
|
|
|
|
SHARED_LIBS= drm 7.7 drm_radeon 4.0 drm_intel 5.4 \
|
|
drm_amdgpu 1.8 drm_nouveau 3.0
|
|
|
|
MDOCS= drmAvailable 3 drmHandleEvent 3 drmModeGetResources 3 \
|
|
drm 7 drm-kms 7 drm-memory 7
|
|
|
|
beforeinstall:
|
|
.for n s in ${MDOCS}
|
|
${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
|
|
${.CURDIR}/man/${n}.${s} ${DESTDIR}${MANDIR}${s}
|
|
.endfor
|
|
|
|
# maintainer target, not used duing build or install
|
|
mdoc:
|
|
.for n s in ${MDOCS}
|
|
docbook2mdoc ${.CURDIR}/man/${n}.xml > ${.CURDIR}/man/${n}.${s}
|
|
.endfor
|
|
|
|
.PHONY: mdoc
|
|
|
|
.include <bsd.xorg.mk>
|