summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-09-27 16:23:52 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-09-27 16:23:52 +0000
commit3e6d2901abaf9a648a152937d14fc04675eb78d5 (patch)
treea6592ddf69b703be0ff66b30aa60966050d07cec /data
parent8c676e551d555ac766ad72dedf1c042f1555399a (diff)
Generate and install xkeyboard-config.pc. Requested by ajacoutot@
Diffstat (limited to 'data')
-rw-r--r--data/xkeyboard-config/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/data/xkeyboard-config/Makefile b/data/xkeyboard-config/Makefile
index 954f6395d..76231ca36 100644
--- a/data/xkeyboard-config/Makefile
+++ b/data/xkeyboard-config/Makefile
@@ -1,7 +1,16 @@
-# $OpenBSD: Makefile,v 1.3 2012/06/10 16:30:14 shadchin Exp $
+# $OpenBSD: Makefile,v 1.4 2012/09/27 16:23:51 matthieu Exp $
-SUBDIR= compat geometry keycodes man rules symbols types
+SUBDIR = compat geometry keycodes man rules symbols types
+XKC_TOP = ../..
+PACKAGE_VERSION = 2.6
+PKGCONFIG = xkeyboard-config.pc
+EXTRA_PKGCONFIG_SUBST = -e 's,@VERSION@,${PACKAGE_VERSION},g' \
+ -e 's,@xkb_base@,${XKB_BASE},g'
-build: _SUBDIRUSE
+clean: _SUBDIRUSE
+install: install-pc _SUBDIRUSE
+
+.include "${.CURDIR}/Makefile.inc"
+.include <bsd.xorg.mk>
.include <bsd.subdir.mk>