summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8f90431..c854a14 100644
--- a/Makefile
+++ b/Makefile
@@ -47,8 +47,7 @@ clean:
genversion:
@echo Building Version
- @echo "//Generated by MAKEFILE. DO NOT Edit." > $(SOURCEDIR)/version.h
- @echo "#pragma once" >> $(SOURCEDIR)/version.h
+ @echo "#pragma once" > $(SOURCEDIR)/version.h
@echo "#define VERSION $(VERSION)" >> $(SOURCEDIR)/version.h
@echo "#define PATCHLEVEL $(PATCHLEVEL)" >> $(SOURCEDIR)/version.h
@echo "#define VERSTRING \"`git describe`\"" >> $(SOURCEDIR)/version.h
@@ -67,6 +66,6 @@ run: gentest
memleak: gentest
valgrind -v --track-origins=yes "./$(BUILDDIR)/test/test"
-doc:
+doc: genversion
mkdir -p doc
doxygen .doxygen