[PATCH 5/4] doc: use a dynamic list of man pages

Peter Hutterer peter.hutterer at who-t.net
Wed Apr 3 15:07:16 PDT 2013


On Wed, Apr 03, 2013 at 09:57:47PM +0200, Quentin Glidic wrote:
> On 03/04/2013 07:34, Peter Hutterer wrote:
> [snip]
> >-man3_MANS= $(client_MANPAGES) $(server_MANPAGES)
> >+man3_MANS= $(shell find man/man3/ -name "wl_*.3" -printf "man/man3/%P\n")
> 
> You should use dist_man3_MANS here.
> 
> >  xml/client/index.xml: $(scanned_src_files_client) wayland.doxygen
> >  	$(AM_V_GEN)$(MKDIR_P) xml/client
> >@@ -84,8 +35,11 @@ doxygen.man: $(scanned_src_files_client) $(scanned_src_files_server)
> >            echo "INPUT= $^"; \
> >            ) | doxygen -
> >
> >-$(client_MANPAGES) $(server_MANPAGES): doxygen.man
> >+# there is no man-local
> >+all-local: doxygen.man
> >
> >  clean-local:
> >  	rm -rf xml/
> >  	rm -rf man/
> >+
> >+EXTRA_DIST = $(man3_MANS)
> 
> And drop EXTRA_DIST then.

oh right, thanks. I knew something didn't feel right about this. fixed
locally, will be in the next patch revision.

Cheers,
   Peter


More information about the wayland-devel mailing list