[FFmpeg-devel] [PATCH] configure: Clean up the documentation building mechanism
James Almer
jamrial at gmail.com
Thu Dec 27 00:53:38 CET 2012
On 26/12/12 8:21 PM, Stefano Sabatini wrote:
>> # documentation
>> -podpages_deps="perl"
>> -manpages_deps="perl pod2man"
>> -htmlpages_deps="texi2html"
>> -txtpages_deps="makeinfo"
>> -doc_deps_any="manpages htmlpages podpages txtpages"
>
>> +podpages_deps="perl doc"
>> +manpages_deps="podpages"
>> +htmlpages_deps="perl doc"
>
> I'm not sure this is correct. You still need pod2man to generate man
> files from pod files, and you still need texi2html to generate HTML
> files from texi files. Thus I believe the correct dependencies are:
>
> podpages_deps="perl" -> since we use the bundled texi2pod perl script
> manpages_deps="podpages pod2man"
> htmlpages_deps="texi2html"
>
> [...]
Check the changes below. htmlpages, txtpages and manpages will only be enabled if a working
texi2html, makeinfo and pod2man respectively exist on the system.
I didn't remove the checks for said applications, just the unnecessary extra variables.
Regards.
More information about the ffmpeg-devel
mailing list