aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2013-11-30 15:18:22 +0800
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2013-12-01 12:37:29 +0800
commit2efc0bad1c414d5e74b9a43148daf8cba202a02b (patch)
treee0fa33507f10dd80fea840b6b829270d485e477e
parent3978de2cde12867eb19a736a61ad81254c440b64 (diff)
add correct version number to manpage output
-rw-r--r--Makefile.in2
-rwxr-xr-xbuild_tools/build_documentation.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 6a336f74..6433eade 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -459,7 +459,7 @@ share/man: $(HELP_SRC)
-mkdir share/man
touch share/man
-rm -Rf share/man/man1
- ./build_tools/build_documentation.sh Doxyfile.help ./doc_src ./share
+ PROJECT_NUMBER=`echo $(FISH_BUILD_VERSION)| sed "s/-.*//"` ./build_tools/build_documentation.sh Doxyfile.help ./doc_src ./share
#
# The build rules for installing/uninstalling fish
diff --git a/build_tools/build_documentation.sh b/build_tools/build_documentation.sh
index 76c19a04..0c4a2aac 100755
--- a/build_tools/build_documentation.sh
+++ b/build_tools/build_documentation.sh
@@ -86,7 +86,7 @@ done
# Input is kept as . because we cd to the input directory beforehand
# This prevents doxygen from generating "documentation" for intermediate directories
DOXYPARAMS=$(cat <<EOF
-PROJECT_NUMBER=2.0.0
+PROJECT_NUMBER=$PROJECT_NUMBER
INPUT=.
OUTPUT_DIRECTORY=$OUTPUTDIR
QUIET=YES