Annotation of xenocara/Makefile, Revision 1.1
1.1 ! matthieu 1: # $OpenBSD: Makefile,v 1.9 2006/04/17 13:18:17 matthieu Exp $
! 2: .include <bsd.own.mk>
! 3:
! 4: X11BASE?= /usr/X11R6
! 5:
! 6: SUBDIR= proto data/bitmaps lib app data/xkbdata xserver driver util
! 7: .ifndef NOFONTS
! 8: SUBDIR+= font
! 9: .endif
! 10: .ifmake(install)
! 11: SUBDIR+= share/mk
! 12: .endif
! 13:
! 14: NOOBJS=
! 15:
! 16: build: beforebuild _SUBDIRUSE
! 17:
! 18: bootstrap:
! 19: ${SUDO} ${MAKE} distrib-dirs
! 20: cd ${.CURDIR}/share/mk \
! 21: && ${SUDO} ${MAKE} install
! 22:
! 23: beforebuild: bootstrap
! 24: cd ${.CURDIR}/util/macros \
! 25: && ${MAKE} -f Makefile.bsd-wrapper \
! 26: && ${SUDO} ${MAKE} -f Makefile.bsd-wrapper install
! 27: ${SUDO} ${MAKE} includes
! 28:
! 29: beforeinstall:
! 30: ${MAKE} distrib-dirs
! 31: ${MAKE} includes
! 32:
! 33: release:
! 34:
! 35: distrib-dirs:
! 36: if [ ! -d ${DESTDIR}${X11BASE}/. ]; then \
! 37: ${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}${X11BASE}/; \
! 38: fi
! 39: mtree -qdef ${.CURDIR}/etc/mtree/BSD.x11.dist \
! 40: -p ${DESTDIR}${X11BASE}/ -U
! 41:
! 42: update: _SUBDIRUSE
! 43:
! 44: .PHONY: all build beforeinstall install afterinstall release clean cleandir
! 45:
! 46: .include <bsd.subdir.mk>
! 47: .include <bsd.xorg.mk>