generated man pages: build without hard coded extension
authorGaetan Nadon <memsize@videotron.ca>
Tue, 7 Jan 2014 19:02:16 +0000 (14:02 -0500)
committerArnaud Fontaine <arnau@debian.org>
Thu, 30 Jan 2014 03:10:06 +0000 (12:10 +0900)
commite4061b8f00d301a51d4c9eef4a07f1e87592fe85
tree6dfba0d53b0e2fb96128e6603e82fd11bbc79550
parent3cdd524cadc4352ebd9e17b1f73134bec1838b40
generated man pages: build without hard coded extension

The automake MAN primary requires a hard coded extension to build
man pages. Let's avoid that as the extension number may vary by platform.
Take advantage of the fact that the man directory only contains man pages.
Wildcards are not supported by Automake but it happens to work
sufficiently well here.

Normally xorg build man pages by converting a source .man file to a
target file with the extension number. That would be too many files
in this case.

Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
src/Makefile.am