summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 950de5c..5bcb461 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -225,8 +225,12 @@ endif
nodist_xcbinclude_HEADERS = $(EXTHEADERS)
noinst_HEADERS = xcbint.h
-BUILT_SOURCES = $(EXTSOURCES)
-CLEANFILES = $(EXTSOURCES) $(EXTHEADERS)
+BUILT_SOURCES = $(EXTSOURCES) $(man_MANS)
+CLEANFILES = $(EXTSOURCES) $(EXTHEADERS) $(man_MANS)
+
+include $(srcdir)/list_of_manpages.inc
$(EXTSOURCES): c_client.py
$(PYTHON) $(srcdir)/c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml)
+
+$(man_MANS): $(EXTSOURCES)