From: wolf Date: Thu, 28 Aug 2003 21:24:55 +0000 (+0000) Subject: Generate deal.II version number for doxygen automatically from configure. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4be29d9ff773fc0c48fc04bd39c02747da218fb3;p=dealii-svn.git Generate deal.II version number for doxygen automatically from configure. git-svn-id: https://svn.dealii.org/trunk@7953 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/configure b/deal.II/configure index a08661f723..30a5396625 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.153 . +# From configure.in Revision: 1.155 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57. # @@ -273,7 +273,7 @@ PACKAGE_BUGREPORT= ac_unique_file="deal.II" ac_subdirs_all="$ac_subdirs_all contrib tests" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS DEAL_II_MAJOR DEAL_II_MINOR DEAL_II_PATH DEAL2_DIR build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GXX_VERSION CXXFLAGSG CXXFLAGSO CXXFLAGSPIC SHLIBLD LDFLAGSPIC enablemultithreading withmultithreading F77 F77_VERSION F77FLAGSO F77FLAGSG F77FLAGSPIC F77LIBS enableshared lib_suffix AR RANLIB ac_ct_RANLIB enablemultigrid TECPLOT_LIBRARY_PATH TECPLOT_INCLUDE_PATH USE_CONTRIB_HSL kdocdir kdocversion docxx PERL subdirs LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS DEAL_II_VERSION DEAL_II_MAJOR DEAL_II_MINOR DEAL_II_PATH DEAL2_DIR build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GXX_VERSION CXXFLAGSG CXXFLAGSO CXXFLAGSPIC SHLIBLD LDFLAGSPIC enablemultithreading withmultithreading F77 F77_VERSION F77FLAGSO F77FLAGSG F77FLAGSPIC F77LIBS enableshared lib_suffix AR RANLIB ac_ct_RANLIB enablemultigrid TECPLOT_LIBRARY_PATH TECPLOT_INCLUDE_PATH USE_CONTRIB_HSL kdocdir kdocversion docxx PERL subdirs LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1297,6 +1297,7 @@ echo "${ECHO_T}Configuring deal.II version $DEAL_II_VERSION" >&6 + DEAL2_DIR=$DEAL_II_PATH @@ -7541,7 +7542,7 @@ echo "${ECHO_T}--------------------- generating output ---------------------" >& - ac_config_files="$ac_config_files common/Make.global_options common/Makefile.template common/scripts/make_dependencies.pl doc/Makefile doc/auto/Makefile doc/auto/kdoc/Makefile" + ac_config_files="$ac_config_files common/Make.global_options common/Makefile.template common/scripts/make_dependencies.pl doc/Makefile doc/auto/Makefile doc/auto/kdoc/Makefile doc/doxygen/options.dox" test "x$prefix" = xNONE && prefix=$ac_default_prefix @@ -8018,6 +8019,7 @@ do "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/auto/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/auto/Makefile" ;; "doc/auto/kdoc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/auto/kdoc/Makefile" ;; + "doc/doxygen/options.dox" ) CONFIG_FILES="$CONFIG_FILES doc/doxygen/options.dox" ;; "base/include/base/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS base/include/base/config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} @@ -8103,6 +8105,7 @@ s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t +s,@DEAL_II_VERSION@,$DEAL_II_VERSION,;t t s,@DEAL_II_MAJOR@,$DEAL_II_MAJOR,;t t s,@DEAL_II_MINOR@,$DEAL_II_MINOR,;t t s,@DEAL_II_PATH@,$DEAL_II_PATH,;t t diff --git a/deal.II/configure.in b/deal.II/configure.in index 47b501fe7d..c6588f086f 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -59,6 +59,7 @@ AC_DEFINE_UNQUOTED(DEAL_II_MINOR, $DEAL_II_MINOR, AC_DEFINE_UNQUOTED(DEAL_II_PATH, "$DEAL_II_PATH", [Path to the deal.II directory]) AC_MSG_RESULT(Configuring deal.II version $DEAL_II_VERSION) +AC_SUBST(DEAL_II_VERSION) AC_SUBST(DEAL_II_MAJOR) AC_SUBST(DEAL_II_MINOR) AC_SUBST(DEAL_II_PATH) @@ -496,7 +497,8 @@ AC_OUTPUT([common/Make.global_options common/scripts/make_dependencies.pl doc/Makefile doc/auto/Makefile - doc/auto/kdoc/Makefile]) + doc/auto/kdoc/Makefile + doc/doxygen/options.dox]) echo diff --git a/deal.II/doc/doxygen/options.dox b/deal.II/doc/doxygen/options.dox.in similarity index 99% rename from deal.II/doc/doxygen/options.dox rename to deal.II/doc/doxygen/options.dox.in index 05ab094000..46119f70c0 100644 --- a/deal.II/doc/doxygen/options.dox +++ b/deal.II/doc/doxygen/options.dox.in @@ -3,7 +3,7 @@ #--------------------------------------------------------------------------- # General configuration options #--------------------------------------------------------------------------- -PROJECT_NUMBER = 4.0 +PROJECT_NUMBER = @DEAL_II_VERSION@ OUTPUT_DIRECTORY = . OUTPUT_LANGUAGE = English EXTRACT_ALL = NO