Hi,

On 31.01.2015 22:36, Michael Niedermayer wrote:
On Sun, Jan 25, 2015 at 09:25:07PM +0100, Andreas Cadhalpun wrote:
diff --git a/doc/Doxyfile b/doc/Doxyfile
index 8697e6c..5d18b10 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -839,7 +839,7 @@ HTML_COLORSTYLE_GAMMA  = 80
  # page will contain the date and time when the page was generated. Setting
  # this to NO can help when comparing the output of multiple runs.

-HTML_TIMESTAMP         = YES
+HTML_TIMESTAMP         = NO

is there some other means to identify outdated doxygen ?
like a git revission ?

One can include the git revision in the PROJECT_NUMBER, e.g. with attached patch.

Best regards,
Andreas

>From 1d3f9639514c65db061fb4e8dbf779a38081b7ee Mon Sep 17 00:00:00 2001
From: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
Date: Sat, 31 Jan 2015 23:08:24 +0100
Subject: [PATCH] doc/doxy-wrapper.sh: autodetect version

Signed-off-by: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
---
 doc/doxy-wrapper.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/doxy-wrapper.sh b/doc/doxy-wrapper.sh
index d88f60e..c57d39f 100755
--- a/doc/doxy-wrapper.sh
+++ b/doc/doxy-wrapper.sh
@@ -6,8 +6,15 @@ DOXYGEN="${3}"
 
 shift 3
 
+if [ -e "$SRC_PATH/VERSION" ]; then
+    VERSION=`cat "$SRC_PATH/VERSION"`
+else
+    VERSION=`cd "$SRC_PATH"; git describe`
+fi
+
 $DOXYGEN - <<EOF
 @INCLUDE        = ${DOXYFILE}
 INPUT           = $@
 EXAMPLE_PATH    = ${SRC_PATH}/doc/examples
+PROJECT_NUMBER  = $VERSION
 EOF
-- 
2.1.4

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to