Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/xkeyboard-config Generate xml files pr...



details:   https://anonhg.NetBSD.org/src/rev/3ebcc0d481fe
branches:  trunk
changeset: 323119:3ebcc0d481fe
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jun 01 01:21:02 2018 +0000

description:
Generate xml files properly. Noted by youri.
XXX: pullup-8

diffstat:

 external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata |   8 +++++++-
 external/mit/xorg/lib/xkeyboard-config/rules/Makefile   |  16 ++++++++--------
 2 files changed, 15 insertions(+), 9 deletions(-)

diffs (49 lines):

diff -r b935b9bc0ec1 -r 3ebcc0d481fe external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata
--- a/external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata   Fri Jun 01 01:19:06 2018 +0000
+++ b/external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata   Fri Jun 01 01:21:02 2018 +0000
@@ -1,7 +1,13 @@
-#      $NetBSD: Makefile.xkbdata,v 1.3 2017/02/13 06:11:01 snj Exp $
+#      $NetBSD: Makefile.xkbdata,v 1.4 2018/06/01 01:21:02 christos Exp $
 
 XKBDISTDIR=    ${X11SRCDIR.xkeyboard-config}/${XKBNAME}
 
 .PATH:         ${XKBDISTDIR}
 
+.SUFFIXES: .in
+
+.in:
+       ${TOOL_SED} -e 's,<_,<,g' -e 's,</_,</,g' < ${.ALLSRC} > ${.TARGET}
+
+
 FILESDIR=      ${X11LIBDIR}/xkb/${XKBNAME}
diff -r b935b9bc0ec1 -r 3ebcc0d481fe external/mit/xorg/lib/xkeyboard-config/rules/Makefile
--- a/external/mit/xorg/lib/xkeyboard-config/rules/Makefile     Fri Jun 01 01:19:06 2018 +0000
+++ b/external/mit/xorg/lib/xkeyboard-config/rules/Makefile     Fri Jun 01 01:21:02 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2010/05/29 07:58:24 ghen Exp $
+#      $NetBSD: Makefile,v 1.4 2018/06/01 01:21:02 christos Exp $
 #
 #      When upgrading, re-assemble the files base, base.lst, evdev and
 #      evdev.lst by running ./configure && make in the dist directory,
@@ -7,14 +7,14 @@
 .include <bsd.own.mk>
 
 XKBNAME=       rules
-FILES=         README base base.lst base.extras.xml.in base.xml.in \
-               evdev evdev.lst evdev.extras.xml.in evdev.xml.in \
-               xfree98 xkb.dtd
+GENFILES=      base.extras.xml base.xml evdev.extras.xml evdev.xml
+FILES=         README base base.lst evdev evdev.lst xfree98 xkb.dtd
+FILES+=                ${GENFILES}
+CLEAN+=                ${GENFILES}
 
-FILESNAME_base.xml.in=         base.xml
-FILESNAME_base.extras.xml.in=  base.extras.xml
-FILESNAME_evdev.xml.in=                evdev.xml
-FILESNAME_evdev.extras.xml.in= evdev.extras.xml
+.for i in ${GENFILES}
+FILESBUILD_${i}=       yes
+.endfor
 
 SYMLINKS=      base ${FILESDIR}/xorg \
                base.lst ${FILESDIR}/xorg.lst \



Home | Main Index | Thread Index | Old Index