aboutsummaryrefslogtreecommitdiff
path: root/nexgb
diff options
context:
space:
mode:
authoraarzilli <alessandro.arzilli@gmail.com>2017-01-18 09:50:29 +0100
committerPřemysl Janouch <p@janouch.name>2018-09-08 16:49:26 +0200
commita102c4056f6b01035772cf79060012ff800c9669 (patch)
treec01ef003a608869671a194ec76e57d5d23422272 /nexgb
parent1f83ea75a2972ad9749edf188211f31517170854 (diff)
downloadhaven-a102c4056f6b01035772cf79060012ff800c9669.tar.gz
haven-a102c4056f6b01035772cf79060012ff800c9669.tar.xz
haven-a102c4056f6b01035772cf79060012ff800c9669.zip
Makefile: do not redefine $XPROTO if it's already defined.
Diffstat (limited to 'nexgb')
-rw-r--r--nexgb/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/nexgb/Makefile b/nexgb/Makefile
index 7a3dae2..c0ee531 100644
--- a/nexgb/Makefile
+++ b/nexgb/Makefile
@@ -10,7 +10,9 @@
# Go package.
# My path to the X protocol XML descriptions.
+ifndef XPROTO
XPROTO=/usr/share/xcb
+endif
# All of the XML files in my /usr/share/xcb directory EXCEPT XKB. -_-
# This is intended to build xgbgen and generate Go code for each supported