diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-19 03:30:46 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-19 03:30:46 +0000 |
commit | fee53326f4ec488d152de10c8b756764f5a56ade (patch) | |
tree | 43e81bf51175c73ca4be4deb7e35a82a31dd25b7 /libstdc++-v3/scripts | |
parent | aa1d3529bbcffc39740b198cb013ef285676a17d (diff) | |
download | gcc-fee53326f4ec488d152de10c8b756764f5a56ade.tar.gz |
2010-02-18 Benjamin Kosnik <bkoz@redhat.com>
* scripts/run_doxygen: Add shortnames option.
* doc/Makefile.am (doc-man-doxygen): Use it.
(doc-html-doxygen): Use it.
(doc-xml-doxygen): Use it, but default to NO.
(doc-pdf-dblatex): Add.
* doc/Makefile.in: Regenerate.
* doc/doxygen/user.cfg.in: Update filelist.
* include/bits/locale_facets.h: Fix markup warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156887 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/scripts')
-rw-r--r-- | libstdc++-v3/scripts/run_doxygen | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/libstdc++-v3/scripts/run_doxygen b/libstdc++-v3/scripts/run_doxygen index 983d4832aa2..9ea93b9d818 100644 --- a/libstdc++-v3/scripts/run_doxygen +++ b/libstdc++-v3/scripts/run_doxygen @@ -5,13 +5,15 @@ # Free Software Foundation, Inc. # # Synopsis: run_doxygen --mode=[html|man|xml] --host_alias=<alias> \ -# v3srcdir v3builddir +# v3srcdir \ +# v3builddir \ +# shortname # # Originally hacked together by Phil Edwards <pme@gcc.gnu.org> # We can check now that the version of doxygen is >= this variable. -DOXYVER=1.5.1 +DOXYVER=1.6.1 find_doxygen() { local -r v_required=`echo $DOXYVER | \ @@ -46,7 +48,7 @@ find_doxygen() { print_usage() { cat 1>&2 <<EOF Usage: run_doxygen --mode=MODE --host_alias=BUILD_ALIAS [<options>] - <v3-src-dir> <v3-build-dir> + <v3-src-dir> <v3-build-dir> <shortnamesp> MODE is one of: html Generate user-level HTML library documentation. man Generate user-level man pages. @@ -85,6 +87,8 @@ parse_options() { elif test $outdir = unset; then builddir=${o} outdir=${o}/doc/doxygen + elif test $shortname = unset; then + shortname=$o else echo run_doxygen error: Too many arguments 1>&2 exit 1 @@ -100,6 +104,7 @@ mode=unset host_alias=unset srcdir=unset outdir=unset +shortname=unset do_html=false do_man=false do_xml=false @@ -113,7 +118,7 @@ echo run_doxygen $* parse_options $* find_doxygen -if test $srcdir = unset || test $outdir = unset || test $mode = unset || test $host_alias = unset; then +if test $srcdir = unset || test $outdir = unset || test $mode = unset || test $shortname = unset || test $host_alias = unset; then # this could be better echo run_doxygen error: You have not given enough information...! 1>&2 print_usage @@ -137,6 +142,17 @@ case x"$mode" in exit 1 ;; esac +case x"$shortname" in + xYES) + ;; + xNO) + ;; + *) + echo run_doxygen error: $shortname is invalid 1>&2 + exit 1 ;; +esac + + mkdir -p $outdir chmod u+w $outdir @@ -155,6 +171,7 @@ fi cd $builddir sed -e "s=@outdir@=${outdir}=g" \ -e "s=@srcdir@=${srcdir}=g" \ + -e "s=@shortname@=${shortname}=g" \ -e "s=@builddir@=${builddir}=g" \ -e "s=@host_alias@=${host_alias}=g" \ -e "s=@enabled_sections@=${enabled_sections}=" \ |