From 9f7da031c5c0354553057611e453c5ad77678255 Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Tue, 30 Sep 2003 13:31:05 +0000 Subject: [PATCH] Automatically update the version number of SANE in the doxygen documentation. --- configure | 3 ++- configure.in | 2 +- doc/Makefile.in | 2 +- doc/{doxygen-sanei.conf => doxygen-sanei.conf.in} | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) rename doc/{doxygen-sanei.conf => doxygen-sanei.conf.in} (99%) diff --git a/configure b/configure index deff05066..743eb0f2c 100755 --- a/configure +++ b/configure @@ -23811,7 +23811,7 @@ fi DISTCLEAN_FILES="*~ .*~ *.log *.bak *.old *.orig *.out *.rej \"\#\"* \".\\#\"*" - ac_config_files="$ac_config_files Makefile lib/Makefile sanei/Makefile frontend/Makefile japi/Makefile backend/Makefile include/Makefile doc/Makefile po/Makefile testsuite/Makefile tools/Makefile" + ac_config_files="$ac_config_files Makefile lib/Makefile sanei/Makefile frontend/Makefile japi/Makefile backend/Makefile include/Makefile doc/Makefile po/Makefile testsuite/Makefile tools/Makefile doc/doxygen-sanei.conf" ac_config_files="$ac_config_files tools/sane-config" @@ -24350,6 +24350,7 @@ do "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; + "doc/doxygen-sanei.conf" ) CONFIG_FILES="$CONFIG_FILES doc/doxygen-sanei.conf" ;; "tools/sane-config" ) CONFIG_FILES="$CONFIG_FILES tools/sane-config" ;; "include/sane/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/sane/config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 diff --git a/configure.in b/configure.in index 5110ff8b3..3f56d8199 100644 --- a/configure.in +++ b/configure.in @@ -442,7 +442,7 @@ AC_SUBST(DISTCLEAN_FILES) AC_CONFIG_FILES([Makefile lib/Makefile sanei/Makefile frontend/Makefile \ japi/Makefile backend/Makefile include/Makefile doc/Makefile \ - po/Makefile testsuite/Makefile tools/Makefile]) + po/Makefile testsuite/Makefile tools/Makefile doc/doxygen-sanei.conf]) AC_CONFIG_FILES([tools/sane-config], [chmod a+x tools/sane-config]) AC_OUTPUT diff --git a/doc/Makefile.in b/doc/Makefile.in index db57c0304..826ea8759 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -84,7 +84,7 @@ endif SUBDIRS = $(BACKDIRS) icons figs descriptions descriptions-external DISTFILES = Makefile.in backend-writing.txt descriptions.txt \ - doxygen-sanei.conf html.sty net.tex \ + doxygen-sanei.conf.in html.sty net.tex \ releases.txt sane-abaton.man sane-agfafocus.man sane-apple.man \ sane-artec.man sane-as6e.man sane-avision.man sane-bh.man \ sane-canon.man sane-canon630u.man sane-config.man sane-coolscan.man \ diff --git a/doc/doxygen-sanei.conf b/doc/doxygen-sanei.conf.in similarity index 99% rename from doc/doxygen-sanei.conf rename to doc/doxygen-sanei.conf.in index 53849fb9f..b66a5d18c 100644 --- a/doc/doxygen-sanei.conf +++ b/doc/doxygen-sanei.conf.in @@ -22,7 +22,7 @@ PROJECT_NAME = "SANEI" # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 1.0.12 +PROJECT_NUMBER = @VERSION@ # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put.