[PATCH 1/8] Make protocol C files depend on protocol XML files
Keith Packard
keithp at keithp.com
Wed Nov 6 19:45:38 PST 2013
When new XML files get installed, make sure the C files are regenerated
Signed-off-by: Keith Packard <keithp at keithp.com>
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
1.8.4.2
More information about the xorg-devel
mailing list