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>
This commit is contained in:
parent
37f849dcad
commit
db3d97628e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue