Home | History | Annotate | Line # | Download | only in rules
      1 #	$NetBSD: Makefile,v 1.9 2022/10/18 08:18:36 mrg Exp $
      2 #
      3 #	When upgrading, re-assemble the files base, base.lst, evdev and
      4 #	evdev.lst by running ./configure && make in the dist directory,
      5 #	and copy the resulting files back here.
      6 #
      7 #	% env PKG_CONFIG_PATH=/usr/X11R7/lib/pkgconfig meson --prefix=/usr/X11R7 build
      8 #	% env PKG_CONFIG_PATH=/usr/X11R7/lib/pkgconfig meson compile -C build
      9 #	% cp build/xkeyboard-config.7 src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man
     10 #	% cp build/rules/{base,evdev}{,.lst} src/external/mit/xorg/lib/xkeyboard-config/rules
     11 #
     12 #       XXX and for now, this one too:
     13 #
     14 #	% cp build/meson-private/xkeyboard-config.pc src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.pc.in
     15 
     16 .include <bsd.own.mk>
     17 
     18 XKBNAME=	rules
     19 GENFILES=	base.extras.xml base.xml
     20 FILES=		README base base.lst evdev evdev.lst xfree98 xkb.dtd
     21 FILES+=		evdev.extras.xml evdev.xml
     22 FILES+=		${GENFILES}
     23 CLEAN+=		${GENFILES}
     24 
     25 .for i in ${GENFILES}
     26 FILESBUILD_${i}=	yes
     27 .endfor
     28 
     29 SYMLINKS=	base ${FILESDIR}/xorg \
     30 		base.lst ${FILESDIR}/xorg.lst \
     31 		base.xml ${FILESDIR}/xorg.xml
     32 
     33 .include "../Makefile.xkbdata"
     34 
     35 .include <bsd.x11.mk>
     36 .include <bsd.prog.mk>
     37