Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-02-02 02:20:18 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-02-02 07:04:14 +0300
commit103e4c58633f210d7c3203cae121ba5b5123afa6 (patch)
treead09b02e45feb95397407e4daf6996613f070914 /doc/t2h.pm
parentaa945dc112b098f3b8139b1d97475839ea88410e (diff)
stop embedding the build date
Theis makes the build binary reproducible. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/t2h.pm')
-rw-r--r--doc/t2h.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/t2h.pm b/doc/t2h.pm
index ca778422fa..5efb2da483 100644
--- a/doc/t2h.pm
+++ b/doc/t2h.pm
@@ -186,6 +186,23 @@ EOT
}
texinfo_register_formatting_function('begin_file', \&ffmpeg_begin_file);
+sub ffmpeg_program_string($)
+{
+ my $self = shift;
+ if (defined($self->get_conf('PROGRAM'))
+ and $self->get_conf('PROGRAM') ne ''
+ and defined($self->get_conf('PACKAGE_URL'))) {
+ return $self->convert_tree(
+ $self->gdt('This document was generated using @uref{{program_homepage}, @emph{{program}}}.',
+ { 'program_homepage' => $self->get_conf('PACKAGE_URL'),
+ 'program' => $self->get_conf('PROGRAM') }));
+ } else {
+ return $self->convert_tree(
+ $self->gdt('This document was generated automatically.'));
+ }
+}
+texinfo_register_formatting_function('program_string', \&ffmpeg_program_string);
+
# Customized file ending
sub ffmpeg_end_file($)
{