From 437b06c43f09235223376029219d89dcea39ff72 Mon Sep 17 00:00:00 2001 From: matthieu Date: Thu, 19 Jul 2018 11:52:37 +0000 Subject: [PATCH] Document the use of this Makefile with x11/py-xcbgen. (not part of standard xenocara builds) --- lib/libxcb/src/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/libxcb/src/Makefile b/lib/libxcb/src/Makefile index 360fe0f1b..1a3827780 100644 --- a/lib/libxcb/src/Makefile +++ b/lib/libxcb/src/Makefile @@ -1,8 +1,10 @@ -# $OpenBSD: Makefile,v 1.7 2016/09/02 10:09:44 matthieu Exp $ +# $OpenBSD: Makefile,v 1.8 2018/07/19 11:52:37 matthieu Exp $ + +# This Makefile is used to generate the sources files with xcbgen +# The x11/py-xcbgen pacage needs to be installed DATADIR= ${X11BASE}/share PYTHON= python${PYTHON_VERSION} -PYTHONDIR= ${X11BASE}/lib/python${PYTHON_VERSION}/site-packages MANOPTIONS= -c 'libxcb 1.12' -l 'X Version 11' -s 3 @@ -50,11 +52,10 @@ force-clean: .SUFFIXES: .xml .c .h .xml.c: - ${PYTHON} ${LIBXCB}/src/c_client.py ${MANOPTIONS} -p ${PYTHONDIR} $< + ${PYTHON} ${LIBXCB}/src/c_client.py ${MANOPTIONS} $< .xml.h: - ${PYTHON} ${LIBXCB}/src/c_client.py ${MANOPTIONS} -p ${PYTHONDIR} $< - + ${PYTHON} ${LIBXCB}/src/c_client.py ${MANOPTIONS} $< .include