summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-14 00:43:55 +0100
committerwm4 <wm4@nowhere>2012-11-14 11:26:43 +0100
commit94fc9f75584dad8a9aaef7a441ddf946c56bb311 (patch)
tree9acfb67499a6059c42f3924968c448208cf1868f /compat
parent1b8ef407ebd41ea94f8ee003ee685c8b86f9b35c (diff)
downloadmpv-94fc9f75584dad8a9aaef7a441ddf946c56bb311.tar.bz2
mpv-94fc9f75584dad8a9aaef7a441ddf946c56bb311.tar.xz
build: build manpage by default if rst2man is detected
Add building the manpage to the all target (which is also the default target). This fixes the behavior that "make install" tried to build the manpage if it wasn't built yet. Add rst2man detection to configure, and disable rst2man usage in the all and install targets if it hasn't been found. You can still build or install the man page manually (by using the install-mpv-man target), but the all and install targets won't attempt to use rst2man. Additionally, building/installing the manpage by default can be explicitly inhibited using the --disable-manpage configure option. It's possible to avoid rst2man by using "make mpv install-no-man" as well.
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions