Hook docs to the build

This commit is contained in:
matthieu 2006-11-29 17:42:27 +00:00
parent 45bc72fa7a
commit 4a79b39237
2 changed files with 14 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.1 2006/11/26 14:00:56 matthieu Exp $ # $OpenBSD: Makefile,v 1.2 2006/11/29 17:42:27 matthieu Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
X11BASE?= /usr/X11R6 X11BASE?= /usr/X11R6
SUBDIR= proto data/bitmaps lib app data/xkbdata xserver driver util SUBDIR= proto data/bitmaps lib app data/xkbdata xserver driver doc util
.ifndef NOFONTS .ifndef NOFONTS
SUBDIR+= font SUBDIR+= font
.endif .endif
@ -38,6 +38,11 @@ distrib-dirs:
fi fi
mtree -qdef ${.CURDIR}/etc/mtree/BSD.x11.dist \ mtree -qdef ${.CURDIR}/etc/mtree/BSD.x11.dist \
-p ${DESTDIR}${X11BASE}/ -U -p ${DESTDIR}${X11BASE}/ -U
if [ ! -d ${DESTDIR}${X11ETC}/. ]; then \
${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}${X11ETC}/; \
fi
mtree -qdef ${.CURDIR}/etc/mtree/BSD.etc-x11.dist \
-p ${DESTDIR}${X11ETC}/ -U
update: _SUBDIRUSE update: _SUBDIRUSE

7
doc/Makefile Normal file
View File

@ -0,0 +1,7 @@
# $OpenBSD: Makefile,v 1.1 2006/11/29 17:42:27 matthieu Exp $
SUBDIR= gl-docs xorg-docs
.include <bsd.subdir.mk>
build: _SUBDIRUSE