Do not list manpages, use a wildcard
[free-sw/xcb/libxcb] / src / Makefile.am
index d886f22..0daaf6a 100644 (file)
@@ -225,11 +225,13 @@ endif
 nodist_xcbinclude_HEADERS = $(EXTHEADERS)
 noinst_HEADERS = xcbint.h
 
+STATIC_MANS = static-man/xcb-examples.3 static-man/xcb-requests.3
+BUILT_MANS = man/xcb_*.3
+man_MANS = = $(STATIC_MANS) $(BUILT_MANS)
+
 BUILT_SOURCES = $(EXTSOURCES) $(BUILT_MANS)
 CLEANFILES = $(EXTSOURCES) $(EXTHEADERS) $(BUILT_MANS)
 
-include $(srcdir)/list_of_manpages.inc
-
 $(EXTSOURCES): c_client.py
        $(PYTHON) $(srcdir)/c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml)