summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2011-11-27 10:38:26 +0000
committerJulien Danjou <julien@danjou.info>2012-03-26 18:23:56 +0200
commitea71d7d7e3f5d8189b80747678e9ca9a417b1d37 (patch)
tree05d4faa45d35c787c5c1d81a41fc8c2513149c51 /src/Makefile.am
parent57a62e99b1241d5a0e6cf0b72f52090862a9c07d (diff)
c_client.py: generate manpages
Signed-off-by: Julien Danjou <julien@danjou.info>
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)