aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libstdc++-v3/scripts/run_doxygen
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libstdc++-v3/scripts/run_doxygen')
-rw-r--r--gcc-4.9/libstdc++-v3/scripts/run_doxygen11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc-4.9/libstdc++-v3/scripts/run_doxygen b/gcc-4.9/libstdc++-v3/scripts/run_doxygen
index c81bc1824..8f5993698 100644
--- a/gcc-4.9/libstdc++-v3/scripts/run_doxygen
+++ b/gcc-4.9/libstdc++-v3/scripts/run_doxygen
@@ -193,8 +193,15 @@ fi
if $do_latex; then
cd ${outdir}/${mode}
- # Also drop in the header file and style sheet
- doxygen -w latex header.tex doxygen.sty
+ # Grrr, Doxygen 1.8.x changed the -w latex options.
+ need_footer=`doxygen -h | sed -n -e '/-w latex/s=.*footer.*=true=p'`
+
+ # Also drop in the header file (maybe footer file) and style sheet
+ if $need_footer; then
+ doxygen -w latex header.tex footer.tex doxygen.sty
+ else
+ doxygen -w latex header.tex doxygen.sty
+ fi
echo ::
echo :: LaTeX pages begin with