=================================================================== RCS file: /cvsrepo/anoncvs/cvs/xenocara/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- xenocara/Makefile 2006/11/26 14:00:56 1.1 +++ xenocara/Makefile 2006/11/29 17:42:27 1.2 @@ -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 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 SUBDIR+= font .endif @@ -38,6 +38,11 @@ fi mtree -qdef ${.CURDIR}/etc/mtree/BSD.x11.dist \ -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