shithub: aubio

Download patch

ref: 4eafd5bf7cfeeb383246b6dd1d843ec1545b0b1f
parent: b1bfc618c4508bcce604cf3b588bb6cb8725eeb3
author: Paul Brossier <piem@altern.org>
date: Fri Sep 29 09:41:18 EDT 2006

get doxygen PROJECT_NUMBER from VERSION file
get doxygen PROJECT_NUMBER from VERSION file


--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -15,16 +15,17 @@
 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: 
 
--- a/doc/devel.cfg
+++ b/doc/devel.cfg
@@ -23,7 +23,7 @@
 # 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. 
--- a/doc/examples.cfg
+++ b/doc/examples.cfg
@@ -23,7 +23,7 @@
 # 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. 
--- a/doc/user.cfg
+++ b/doc/user.cfg
@@ -23,7 +23,7 @@
 # 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.