[FFmpeg-devel] [PATCH] doc: add script to compute texi files dependencies
timothygu99 at gmail.com
Fri Dec 6 00:39:12 CET 2013
On Dec 5, 2013 10:09 AM, "Stefano Sabatini" <stefasab at gmail.com> wrote:
> On date Thursday 2013-12-05 10:04:44 -0800, Timothy Gu encoded:
> > On Thu, Dec 5, 2013 at 5:17 AM, Stefano Sabatini <stefasab at gmail.com>
> > > Replace the inline awk script with a Perl script which tracks the
> > > dependencies recursively.
> > >
> > > This allows to correctly track dependencies for files including files
> > > with a second level include (for example: ffmpeg-devices.texi ->
> > > devices.texi -> outdevs.texi).
> > >
> > > This also adds a dependency on perl for computing the dependencies,
> > > should not be a problem since perl is already required all the way for
> > > building documentation.
> > >
> > > This is a variant of commit 628ceac6526724d35cb390cc1f88344f4ea22eb4
> > > which was reverted due to out-of-tree build failure.
> > > ---
> > > configure | 4 ++--
> > > doc/Makefile | 2 +-
> > > doc/texidep.pl | 25 +++++++++++++++++++++++++
> > > 3 files changed, 28 insertions(+), 3 deletions(-)
> > > create mode 100644 doc/texidep.pl
> > [...]
> > > diff --git a/doc/texidep.pl b/doc/texidep.pl
> > > new file mode 100644
> > > index 0000000..c014882
> > > --- /dev/null
> > > +++ b/doc/texidep.pl
> > > @@ -0,0 +1,25 @@
> > > +#! /usr/bin/perl
> > Copyright?
> No (we have other scripts missing copyright, and I guess we can skip
> it for this trivial and
> mostly non-reusable ad-hoc script).
Unreusable? Other projects that uses Texinfo can use this too. But this is
just a minor remark so ignore it if you don't like it.
More information about the ffmpeg-devel