diff options
author | Matthias Klose <doko@debian.org> | 2004-11-15 21:59:18 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2004-11-15 21:59:18 +0000 |
commit | 3ebf2ebafee4d7381050f36ad30daaeba8df7e95 (patch) | |
tree | 9ceac710b948d69188728024caf8a889131981fe /libstdc++-v3/docs | |
parent | 35d7f8f42269181478ac4fcbf224b95191a859a3 (diff) | |
download | gcc-3ebf2ebafee4d7381050f36ad30daaeba8df7e95.zip gcc-3ebf2ebafee4d7381050f36ad30daaeba8df7e95.tar.gz gcc-3ebf2ebafee4d7381050f36ad30daaeba8df7e95.tar.bz2 |
run_doxygen: Add --build_alias option, substitute it in docs/doxygen/user.cfg.in.
2004-11-13 Matthias Klose <doko@debian.org>
* docs/doxygen/run_doxygen: Add --build_alias option,
substitute it in docs/doxygen/user.cfg.in.
* docs/doxygen/user.cfg.in: Use build_alias.
* Makefile.am: Pass --build_alias to run_doxygen
* Makefile.in: Regenerate.
From-SVN: r90694
Diffstat (limited to 'libstdc++-v3/docs')
-rw-r--r-- | libstdc++-v3/docs/doxygen/run_doxygen | 20 | ||||
-rw-r--r-- | libstdc++-v3/docs/doxygen/user.cfg.in | 4 |
2 files changed, 16 insertions, 8 deletions
diff --git a/libstdc++-v3/docs/doxygen/run_doxygen b/libstdc++-v3/docs/doxygen/run_doxygen index b00c4d4..ec1a9b4 100644 --- a/libstdc++-v3/docs/doxygen/run_doxygen +++ b/libstdc++-v3/docs/doxygen/run_doxygen @@ -1,15 +1,16 @@ #!/bin/bash # Runs doxygen and massages the output files. -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. # -# Synopsis: run_doxygen --mode=[user|maint|man] v3srcdir v3builddir +# Synopsis: run_doxygen --mode=[user|maint|man] --build_alias=<alias> \ +# v3srcdir v3builddir # # Originally hacked together by Phil Edwards <pme@gcc.gnu.org> # We can check now that the version of doxygen is >= this variable. -DOXYVER=1.3.7 +DOXYVER=1.3.9 find_doxygen() { local -r v_required=`echo $DOXYVER | \ @@ -43,13 +44,16 @@ find_doxygen() { print_usage() { cat 1>&2 <<EOF -Usage: run_doxygen --mode=MODE [<options>] <v3-src-dir> <v3-build-dir> +Usage: run_doxygen --mode=MODE --build_alias=BUILD_ALIAS [<options>] + <v3-src-dir> <v3-build-dir> MODE is one of: user Generate user-level HTML library documentation. maint Generate maintainers' HTML documentation (lots more; exposes non-public members, etc). man Generate user-level man pages. + BUILD_ALIAS is the GCC build alias set at configure time. + more options when i think of them Note: Requires Doxygen ${DOXYVER} or later; get it at @@ -72,7 +76,9 @@ parse_options() { case "$o" in --mode=*) mode=$arg ;; - --mode | --help | -h) + --build_alias=*) + build_alias=$arg ;; + --mode | --build_alias | --help | -h) print_usage ;; *) # this turned out to be a mess, maybe change to --srcdir=, etc @@ -93,6 +99,7 @@ parse_options() { # script begins here mode=unset +build_alias=unset srcdir=unset outdir=unset do_html=false @@ -104,7 +111,7 @@ DATEtext=`date '+%Y-%m-%d'` parse_options $* find_doxygen -if test $srcdir = unset || test $outdir = unset || test $mode = unset; then +if test $srcdir = unset || test $outdir = unset || test $mode = unset || test $build_alias = unset; then # this could be better echo run_doxygen error: You have not given enough information...! 1>&2 print_usage @@ -145,6 +152,7 @@ fi cd $builddir sed -e "s=@outdir@=${outdir}=g" \ -e "s=@srcdir@=${srcdir}=g" \ + -e "s=@build_alias@=${build_alias}=g" \ -e "s=@html_output_dir@=html_${mode}=" \ -e "s=@enabled_sections@=${enabled_sections}=" \ -e "s=@do_html@=${do_html}=" \ diff --git a/libstdc++-v3/docs/doxygen/user.cfg.in b/libstdc++-v3/docs/doxygen/user.cfg.in index 5e53b34..64b5f6d 100644 --- a/libstdc++-v3/docs/doxygen/user.cfg.in +++ b/libstdc++-v3/docs/doxygen/user.cfg.in @@ -113,7 +113,7 @@ INPUT = @srcdir@/docs/doxygen/doxygroups.cc \ include/ext/slist \ include/tr1/array \ include/tr1/tuple \ - include/i686-pc-linux-gnu/bits + include/@build_alias@/bits FILE_PATTERNS = *.h \ *.tcc RECURSIVE = NO @@ -254,7 +254,7 @@ PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- CLASS_DIAGRAMS = YES HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO +HAVE_DOT = YES CLASS_GRAPH = YES COLLABORATION_GRAPH = YES UML_LOOK = NO |