diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-02-02 00:20:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-02 05:04:14 +0100 |
commit | 103e4c58633f210d7c3203cae121ba5b5123afa6 (patch) | |
tree | ad09b02e45feb95397407e4daf6996613f070914 /doc | |
parent | aa945dc112b098f3b8139b1d97475839ea88410e (diff) | |
download | ffmpeg-103e4c58633f210d7c3203cae121ba5b5123afa6.tar.gz |
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')
-rw-r--r-- | doc/Makefile | 4 | ||||
-rwxr-xr-x | doc/doxy-wrapper.sh | 1 | ||||
-rw-r--r-- | doc/t2h.pm | 17 |
3 files changed, 20 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile index 25029227a5..745576cbf9 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -114,9 +114,9 @@ doc/%-all.pod: doc/%.texi $(SRC_PATH)/doc/texi2pod.pl $(GENTEXI) doc/%.1 doc/%.3: TAG = MAN doc/%.1: doc/%.pod $(GENTEXI) - $(M)pod2man --section=1 --center=" " --release=" " $< > $@ + $(M)pod2man --section=1 --center=" " --release=" " --date=" " $< > $@ doc/%.3: doc/%.pod $(GENTEXI) - $(M)pod2man --section=3 --center=" " --release=" " $< > $@ + $(M)pod2man --section=3 --center=" " --release=" " --date=" " $< > $@ $(DOCS) doc/doxy/html: | doc/ $(DOC_EXAMPLES:%$(EXESUF)=%.o): | doc/examples diff --git a/doc/doxy-wrapper.sh b/doc/doxy-wrapper.sh index d88f60e55d..bbdb9097b7 100755 --- a/doc/doxy-wrapper.sh +++ b/doc/doxy-wrapper.sh @@ -10,4 +10,5 @@ $DOXYGEN - <<EOF @INCLUDE = ${DOXYFILE} INPUT = $@ EXAMPLE_PATH = ${SRC_PATH}/doc/examples +HTML_TIMESTAMP = NO EOF 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($) { |