import NVIDIA-FreeBSD-x86-190.42
[nvidia.git] / doc / Makefile
CommitLineData
8b1b599b
SS
1NVIDIA_ROOT= ${.CURDIR}/..
2
3.if !defined(X11BASE)
4X11BASE= /usr/X11R6
5.endif
6
7BSDVER!= /sbin/sysctl -n kern.osreldate
8.if ${BSDVER} >= 600000
9NO_OBJ= noobj
10.else
11NOOBJ= noobj
12.endif
13
14DOCS= README \
15 XF86Config.sample \
16 license.txt \
17 gl.h glx.h glext.h \
cfb7e7a6 18 glxext.h \
05d5f840 19 vdpau.h vdpau_x11.h
8b1b599b
SS
20
21HTMLDOCS!=(ls ${NVIDIA_ROOT}/doc/html/)
22
23DOCDIR= ${X11BASE}/share/doc/NVIDIA_GLX-1.0
24
25all: # dummy rule
26clean: # dummy rule
27
28install:
29 @mkdir -p ${DESTDIR}${DOCDIR}
30.for doc in ${DOCS}
31 @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
32 ${NVIDIA_ROOT}/doc/${doc} \
33 ${DESTDIR}${DOCDIR}
34.endfor
35 @mkdir -p ${DESTDIR}${DOCDIR}/html
36.for doc in ${HTMLDOCS}
37 @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
38 ${NVIDIA_ROOT}/doc/html/${doc} \
39 ${DESTDIR}${DOCDIR}/html
40.endfor
41
42.include <bsd.prog.mk>