summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-07-12 10:32:03 -0700
committerKeith Packard <keithp@keithp.com>2013-11-07 13:31:52 -0800
commitdb3d97628ed0dcee17645f5c9018104a6d04e27d (patch)
treed1e84d8c2df6ffbe7f054780b59ef72f3ad4621e
parent37f849dcadc8218ec23cec8fa300a4ff246081b6 (diff)
Make protocol C files depend on protocol XML files
When new XML files get installed, make sure the C files are regenerated Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-By: Uli Schlachter <psychon@znc.in>
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6b5a2c3..f48e14e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -233,7 +233,7 @@ EXTRA_DIST = $(STATIC_MANS)
BUILT_SOURCES = $(EXTSOURCES) $(BUILT_MANS)
CLEANFILES = $(EXTSOURCES) $(EXTHEADERS) $(BUILT_MANS)
-$(EXTSOURCES): c_client.py
+$(EXTSOURCES): c_client.py $(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml)
$(PYTHON) $(srcdir)/c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml)
$(man_MANS): $(EXTSOURCES)