[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / xenocara

Annotation of xenocara/Makefile, Revision 1.2

1.2     ! matthieu    1: # $OpenBSD: Makefile,v 1.1 2006/11/26 14:00:56 matthieu Exp $
1.1       matthieu    2: .include <bsd.own.mk>
                      3:
                      4: X11BASE?=      /usr/X11R6
                      5:
1.2     ! matthieu    6: SUBDIR= proto data/bitmaps lib app data/xkbdata xserver driver doc util
1.1       matthieu    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
1.2     ! matthieu   41:        if [ ! -d ${DESTDIR}${X11ETC}/. ]; then \
        !            42:                ${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}${X11ETC}/; \
        !            43:        fi
        !            44:        mtree -qdef ${.CURDIR}/etc/mtree/BSD.etc-x11.dist \
        !            45:                -p ${DESTDIR}${X11ETC}/ -U
1.1       matthieu   46:
                     47: update: _SUBDIRUSE
                     48:
                     49: .PHONY: all build beforeinstall install afterinstall release clean cleandir
                     50:
                     51: .include <bsd.subdir.mk>
                     52: .include <bsd.xorg.mk>