get doxygen PROJECT_NUMBER from VERSION file
authorPaul Brossier <piem@altern.org>
Fri, 29 Sep 2006 13:41:18 +0000 (13:41 +0000)
committerPaul Brossier <piem@altern.org>
Fri, 29 Sep 2006 13:41:18 +0000 (13:41 +0000)
get doxygen PROJECT_NUMBER from VERSION file

doc/Makefile.am
doc/devel.cfg
doc/examples.cfg
doc/user.cfg

index b6d14f5..f9e6d89 100644 (file)
@@ -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: 
 
index 5332c6b..70009e9 100644 (file)
@@ -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. 
index 3c0ae27..e98ac88 100644 (file)
@@ -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. 
index 3dad804..9edd4f2 100644 (file)
@@ -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.