From: Paul Brossier Date: Fri, 29 Sep 2006 13:41:18 +0000 (+0000) Subject: get doxygen PROJECT_NUMBER from VERSION file X-Git-Tag: bzr2git~562 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4eafd5bf7cfeeb383246b6dd1d843ec1545b0b1f;p=aubio.git get doxygen PROJECT_NUMBER from VERSION file get doxygen PROJECT_NUMBER from VERSION file --- diff --git a/doc/Makefile.am b/doc/Makefile.am index b6d14f51..f9e6d894 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -15,16 +15,17 @@ update-docs: doc-devel doc-clean: -rm -rf devel +PROJECT_NUMBER = `source $(top_srcdir)/VERSION; echo $$AUBIO_MAJOR_VERSION.$$AUBIO_MINOR_VERSION.$$AUBIO_PATCH_VERSION$$AUBIO_VERSION_STATUS` maintainer-clean-local: doc-clean doc-devel: - doxygen $(srcdir)/devel.cfg + (echo PROJECT_NUMBER = $(PROJECT_NUMBER) ; cat $(srcdir)/devel.cfg) | doxygen - doc-user: - doxygen $(srcdir)/user.cfg + (echo PROJECT_NUMBER = $(PROJECT_NUMBER) ; cat $(srcdir)/user.cfg) | doxygen - doc-examples: - doxygen $(srcdir)/examples.cfg + (echo PROJECT_NUMBER = $(PROJECT_NUMBER) ; cat $(srcdir)/examples.cfg) | doxygen - %.sgml: diff --git a/doc/devel.cfg b/doc/devel.cfg index 5332c6b1..70009e97 100644 --- a/doc/devel.cfg +++ b/doc/devel.cfg @@ -23,7 +23,7 @@ PROJECT_NAME = aubio # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.3.0 +#PROJECT_NUMBER = 0.3.0 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff --git a/doc/examples.cfg b/doc/examples.cfg index 3c0ae27b..e98ac880 100644 --- a/doc/examples.cfg +++ b/doc/examples.cfg @@ -23,7 +23,7 @@ PROJECT_NAME = aubio # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.2.0 +#PROJECT_NUMBER = 0.2.0 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff --git a/doc/user.cfg b/doc/user.cfg index 3dad804b..9edd4f24 100644 --- a/doc/user.cfg +++ b/doc/user.cfg @@ -23,7 +23,7 @@ PROJECT_NAME = aubio # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.3.0 +#PROJECT_NUMBER = 0.3.0 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put.