[FFmpeg-devel] [PATCH] doc: add script to compute texi files dependencies

Stefano Sabatini stefasab at gmail.com
Thu May 30 10:17:49 CEST 2013


On date Wednesday 2013-05-29 18:58:53 +0200, Michael Niedermayer encoded:
> On Tue, May 28, 2013 at 10:32:09PM +0200, Stefano Sabatini wrote:
> > Replace the inline awk script with a Perl script which tracks the
> > dependencies recursively.
> > 
> > This allows to correctly track dependencies for files containing files
> > with a second level include (for example: ffmpeg-devices.texi ->
> > devices.texi -> outdevs.texi).
> 
> does this add any dependancies to any use cases of ffmpeg ?

We already use perl for TEXI->POD, POD->MAN and TEXI->HTML depend on a
perl script, so no, in practice we already require the presence of
perl for MAN and HTML output generation.

Practically this means that I should probably extend the dependencies
like this:
podpages_deps="perl"
manpages_deps="pod2man"      => "perl podman"
htmlpages_deps="texi2html"   => "perl texi2html"
txtpages_deps="makeinfo"     => "perl makeinfo"

Right now in a system with no perl we are able to create TXTPAGES
only, that is fate.txt. Maybe I could implement the script in awk, but
I'm not familiar with that language and it would require more time for
me to write and maintain.
-- 
FFmpeg = Fantastic Fundamentalist Moronic Powerful Evangelical Geek


More information about the ffmpeg-devel mailing list