summaryrefslogtreecommitdiff
path: root/lib/libxcb/Makefile.inc
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-22 16:53:06 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-22 16:53:06 +0000
commit63af4ff877b2b9e781674e6ad26d8de3bcea087d (patch)
tree8f63528fe121961d574e52cbf04a59cf6da01e41 /lib/libxcb/Makefile.inc
parenta899c2a7a33f5072d5e37a44d5ed99bf17e1464c (diff)
use the code in bsd.xorg.mk to install headers.
Diffstat (limited to 'lib/libxcb/Makefile.inc')
-rw-r--r--lib/libxcb/Makefile.inc10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libxcb/Makefile.inc b/lib/libxcb/Makefile.inc
index 717dc29c7..8c483212a 100644
--- a/lib/libxcb/Makefile.inc
+++ b/lib/libxcb/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.1 2009/05/22 16:09:01 matthieu Exp $
+# $OpenBSD: Makefile.inc,v 1.2 2009/05/22 16:53:05 matthieu Exp $
LIBXCB= ${.CURDIR}/../../../dist/libxcb
@@ -12,10 +12,8 @@ CPPFLAGS= -I${X11BASE}/include \
obj: _xenocara_obj
-includes:
- @cd ${.CURDIR}/../src; for i in ${HDRS}; do \
- cmp -s $$i ${DESTDIR}${INCSDIR}/xcb/$$i || \
- ${INSTALL} ${INSTALL_COPY} -m 444 -o ${BINOWN} -g ${BINGRP} $$i \
- ${DESTDIR}/${INCSDIR}/xcb; done
+HEADERS_SUBDIR= xcb/
+
+_SRCDIR?= ${.CURDIR}/../src
PACKAGE_VERSION!=m4 ${XSRCDIR}/share/mk/package_version.m4 ${LIBXCB}/configure.ac