From 084e435883cd3eb83d2385c2c7cc7b029f45ecf9 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 30 Sep 2013 16:03:34 -0700 Subject: [PATCH] Strip out git commit numbers from doxygen documentation --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 7b243ee77..e0bc9fdb5 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 #