aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.doxygen4
-rw-r--r--Makefile5
2 files changed, 4 insertions, 5 deletions
diff --git a/.doxygen b/.doxygen
index 64bccfe..158e0a7 100644
--- a/.doxygen
+++ b/.doxygen
@@ -112,7 +112,7 @@ WARN_LOGFILE =
#---------------------------------------------------------------------------
# Configuration options related to the input files
#---------------------------------------------------------------------------
-INPUT = ./src
+INPUT = . src
INPUT_ENCODING = UTF-8
FILE_PATTERNS = *.c \
*.cc \
@@ -159,7 +159,7 @@ FILE_PATTERNS = *.c \
*.ucf \
*.qsf
RECURSIVE = NO
-EXCLUDE = test.cpp test_old.cpp version.h
+EXCLUDE = example/
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXCLUDE_SYMBOLS =
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