Commit 4bc8ae23 by Phil Edwards Committed by Phil Edwards

run_doxygen: Clear GENERATE_TAGFILE entirely if man pages are on.

2003-09-13  Phil Edwards  <phil@codesourcery.com>

	* docs/doxygen/run_doxygen:  Clear GENERATE_TAGFILE entirely
	if man pages are on.
	* docs/doxygen/user.cfg.in:  And here.

From-SVN: r71363
parent f6d1b84a
2003-09-13 Phil Edwards <phil@codesourcery.com>
* docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
if man pages are on.
* docs/doxygen/user.cfg.in: And here.
2003-09-10 Daniel Jacobowitz <drow@mvista.com> 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
Andreas Jaeger <aj@suse.de> Andreas Jaeger <aj@suse.de>
......
...@@ -98,6 +98,7 @@ outdir=unset ...@@ -98,6 +98,7 @@ outdir=unset
do_html=false do_html=false
do_man=false do_man=false
enabled_sections= enabled_sections=
generate_tagfile=
DATEtext=`date '+%Y-%m-%d'` DATEtext=`date '+%Y-%m-%d'`
parse_options $* parse_options $*
...@@ -110,15 +111,20 @@ if test $srcdir = unset || test $outdir = unset || test $mode = unset; then ...@@ -110,15 +111,20 @@ if test $srcdir = unset || test $outdir = unset || test $mode = unset; then
fi fi
case x"$mode" in case x"$mode" in
xuser) do_html=true xuser)
LEVELtext='User' do_html=true
;; LEVELtext='User'
xmaint) do_html=true generate_tagfile="$outdir/html_$mode/libstdc++.tag"
enabled_sections=maint ;;
LEVELtext='Maintainer' xmaint)
;; do_html=true
xman) do_man=true enabled_sections=maint
;; LEVELtext='Maintainer'
generate_tagfile="$outdir/html_$mode/libstdc++.tag"
;;
xman)
do_man=true
;;
*) *)
echo run_doxygen error: $mode is an invalid mode 1>&2 echo run_doxygen error: $mode is an invalid mode 1>&2
exit 1 ;; exit 1 ;;
...@@ -143,6 +149,7 @@ fi ...@@ -143,6 +149,7 @@ fi
-e "s=@enabled_sections@=${enabled_sections}=" \ -e "s=@enabled_sections@=${enabled_sections}=" \
-e "s=@do_html@=${do_html}=" \ -e "s=@do_html@=${do_html}=" \
-e "s=@do_man@=${do_man}=" \ -e "s=@do_man@=${do_man}=" \
-e "s=@generate_tagfile@=${generate_tagfile}=" \
${srcdir}/docs/doxygen/user.cfg.in > ${outdir}/${mode}.cfg ${srcdir}/docs/doxygen/user.cfg.in > ${outdir}/${mode}.cfg
echo :: NOTE that this may take some time... echo :: NOTE that this may take some time...
echo doxygen ${outdir}/${mode}.cfg echo doxygen ${outdir}/${mode}.cfg
......
...@@ -902,7 +902,7 @@ TAGFILES = ...@@ -902,7 +902,7 @@ TAGFILES =
# When a file name is specified after GENERATE_TAGFILE, doxygen will create # When a file name is specified after GENERATE_TAGFILE, doxygen will create
# a tag file that is based on the input files it reads. # a tag file that is based on the input files it reads.
GENERATE_TAGFILE = @outdir@/@html_output_dir@/libstdc++.tag GENERATE_TAGFILE = @generate_tagfile@
# If the ALLEXTERNALS tag is set to YES all external classes will be listed # If the ALLEXTERNALS tag is set to YES all external classes will be listed
# in the class index. If set to NO only the inherited external classes # in the class index. If set to NO only the inherited external classes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment