aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-27 00:38:29 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-27 00:38:29 -0800
commitfed352653d8a50cf7aeaace6abf9f6971d1047ab (patch)
treef40c023972e1b24e9f76e23d412a59629ea9e24c /Makefile.in
parenta697b2b60e5833ed733f4d42e662d0cf410d7f6f (diff)
Re-teach Makefile.in how to generate proper version numbers in man pages
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index dd873708..ec1c1248 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -309,7 +309,7 @@ prof: all
# Allow doxygen to fail, e.g. if it does not exist
user_doc: $(HDR_FILES_SRC) Doxyfile.user user_doc.head.html $(HELP_SRC) doc.h $(HDR_FILES)
- - doxygen Doxyfile.user && touch user_doc
+ - (cat Doxyfile.user ; echo PROJECT_NUMBER=@PACKAGE_VERSION@) | doxygen - && touch user_doc
#
@@ -317,7 +317,7 @@ user_doc: $(HDR_FILES_SRC) Doxyfile.user user_doc.head.html $(HELP_SRC) doc.h $(
#
doc: *.h *.cpp doc.h Doxyfile
- doxygen;
+ (cat Doxyfile ; echo PROJECT_NUMBER=@PACKAGE_VERSION@) | doxygen -;
#
@@ -497,7 +497,7 @@ share/man: $(HELP_SRC)
echo "*/" >>$$FILE; \
done
if command -v doxygen; then \
- doxygen Doxyfile.help ; \
+ (cat Doxyfile.help ; echo PROJECT_NUMBER=@PACKAGE_VERSION@) | doxygen - ; \
for i in $(HELP_SRC); do \
CMD_NAME=`basename $$i .txt`; \
sed -e "s/\(.\)\\.SH/\1/" -e "s/$$CMD_NAME *\\\\- *\"\(.*\)\"/\1/" <help_doc/man/man1/$$CMD_NAME.1 >share/man/$$CMD_NAME.1; \