aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-09-30 16:03:34 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-09-30 16:03:34 -0700
commit084e435883cd3eb83d2385c2c7cc7b029f45ecf9 (patch)
tree2b5fd21dd826d4211968673e23628cda9b7600e8 /Makefile.in
parent2f33e5919d2e3eb1a08cdd44a34f779a50ad2242 (diff)
Strip out git commit numbers from doxygen documentation
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 7b243ee7..e0bc9fdb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -324,9 +324,10 @@ prof: all
# Depend on the sources (*.hdr.in) and manually make the
# intermediate *.hdr and doc.h files if needed
+# The sed command deletes everything including and after the first -, for simpler version numbers
user_doc: $(HDR_FILES_SRC) Doxyfile.user user_doc.head.html $(HELP_SRC) doc.h $(HDR_FILES)
- (cat Doxyfile.user ; echo PROJECT_NUMBER=$(FISH_BUILD_VERSION)) | doxygen - && touch user_doc
+ (cat Doxyfile.user ; echo PROJECT_NUMBER=$(FISH_BUILD_VERSION) | sed "s/-.*//") | doxygen - && touch user_doc
#