From: Keith Packard Date: Fri, 12 Jul 2013 17:32:03 +0000 (-0700) Subject: Make protocol C files depend on protocol XML files X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d04a4a03a90f2721d507287938c90f1755d9da0e;p=free-sw%2Fxcb%2Flibxcb 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 Reviewed-By: Uli Schlachter --- 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)