[FFmpeg-devel] [PATCH] doc: add script to compute texi files dependencies
Stefano Sabatini
stefasab at gmail.com
Sat Jun 29 16:53:32 CEST 2013
On date Thursday 2013-05-30 10:17:49 +0200, Stefano Sabatini encoded:
> 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.
Updated with circular dependencies detection. Note that in case of
circular dependencies the script was already exiting because the
maximum number of open files was reached.
--
FFmpeg = Fantastic and Fundamental Mere Plastic Ecumenical Guide
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-doc-add-script-to-compute-texi-files-dependencies.patch
Type: text/x-diff
Size: 2308 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130629/2ace251a/attachment.bin>
More information about the ffmpeg-devel
mailing list