diff options
author | Willow Liquorice <willow@howhill.com> | 2022-08-26 04:08:13 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-30 09:41:51 +0200 |
commit | c6df77c1dea0535ae40e9757ebec66f26e26d975 (patch) | |
tree | c8d7441642a6c896c5ed397c3b3c7b90ec8649fe | |
parent | a0310df04b42d5b65f0f9cd2bd6c8c655507441c (diff) | |
download | gnunet-c6df77c1dea0535ae40e9757ebec66f26e26d975.tar.gz gnunet-c6df77c1dea0535ae40e9757ebec66f26e26d975.zip |
-DOC: GNUnet version number is now derived automatically from .version.
-rw-r--r-- | doc/doxygen/Makefile.am | 2 | ||||
-rw-r--r-- | doc/doxygen/gnunet.doxy | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am index 8e12db26b..52f124e33 100644 --- a/doc/doxygen/Makefile.am +++ b/doc/doxygen/Makefile.am | |||
@@ -6,9 +6,11 @@ all: | |||
6 | "\tmake fast - fast mode without dependency graphs" | 6 | "\tmake fast - fast mode without dependency graphs" |
7 | 7 | ||
8 | full: gnunet.doxy | 8 | full: gnunet.doxy |
9 | python -c "f=open('../../.version'); print(f'PROJECT_NUMBER = {f.read().split(\"-\")[0]}'); f.close()" > version.doxy | ||
9 | doxygen $< | 10 | doxygen $< |
10 | 11 | ||
11 | fast: gnunet.doxy | 12 | fast: gnunet.doxy |
13 | python -c "f=open('../../.version'); print(f'PROJECT_NUMBER = {f.read().split(\"-\")[0]}'); f.close()" > version.doxy | ||
12 | sed 's/\(HAVE_DOT.*=\).*/\1 NO/' $< | doxygen - | 14 | sed 's/\(HAVE_DOT.*=\).*/\1 NO/' $< | doxygen - |
13 | 15 | ||
14 | clean: | 16 | clean: |
diff --git a/doc/doxygen/gnunet.doxy b/doc/doxygen/gnunet.doxy index da777b55c..bfde393ae 100644 --- a/doc/doxygen/gnunet.doxy +++ b/doc/doxygen/gnunet.doxy | |||
@@ -38,7 +38,8 @@ PROJECT_NAME = GNUnet | |||
38 | # could be handy for archiving the generated documentation or if some version | 38 | # could be handy for archiving the generated documentation or if some version |
39 | # control system is used. | 39 | # control system is used. |
40 | 40 | ||
41 | PROJECT_NUMBER = 0.16.x | 41 | # PROJECT_NUMBER = 0.16.x |
42 | @INCLUDE = "version.doxy" | ||
42 | 43 | ||
43 | # Using the PROJECT_BRIEF tag one can provide an optional one line description | 44 | # Using the PROJECT_BRIEF tag one can provide an optional one line description |
44 | # for a project that appears at the top of each page and should give viewer a | 45 | # for a project that appears at the top of each page and should give viewer a |