xenocara/lib/libdrm/Makefile.bsd-wrapper
2019-11-27 02:17:47 +00:00

24 lines
610 B
Makefile

# $OpenBSD: Makefile.bsd-wrapper,v 1.22 2019/11/27 02:17:47 jsg Exp $
SHARED_LIBS= drm 7.8 drm_radeon 4.0 drm_intel 5.4 \
drm_amdgpu 1.9 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>