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

Quentin Glidic sardemff7+wayland at sardemff7.net
Wed Apr 3 12:57:47 PDT 2013


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.


-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list