Commit bb32430a authored by Philipp  Trunschke's avatar Philipp Trunschke

bugfix in `make doc`

- rule `doc` in ./Makefile depended on `doc/parseDoxytags` which had no rule
  in ./Makefile
- add missing `-std=c++11` flag to `$(CXX)`-calls in ./doc/Makefile
- replaced .FORCE rules by .PHONY declarations
parent 38bbb520
Pipeline #1048 passed with stages
in 7 minutes and 52 seconds
......@@ -245,8 +245,7 @@ fullTest: $(TUTORIALS) $(TEST_NAME)
./$(TEST_NAME) all
.FORCE:
doc: .FORCE doc/parseDoxytags doc/findDoxytag
doc:
make -C doc doc
......
.PHONY: help doc clean serve
# ------------------------------------------------------------------------------------------------------
# Default rule should be the help message
# ------------------------------------------------------------------------------------------------------
......@@ -8,8 +10,7 @@ help:
\t\tserve \t\t -- Build the html documentation for the xerus library and offer it via 'jekyll serve'.\n \
\t\tclean \t\t -- Remove all documentation files.\n"
.FORCE:
doc: .FORCE parseDoxytags findDoxytag
doc: parseDoxytags findDoxytag
-mkdir html
doxygen doxygen/Doxyfile
./parseDoxytags
......@@ -20,7 +21,7 @@ clean:
-rm -f parseDoxytags findDoxytag
-rm -f xerus.tags xerus.tagfile
serve: .FORCE parseDoxytags findDoxytag
serve: parseDoxytags findDoxytag
-mkdir html
doxygen doxygen/Doxyfile
./parseDoxytags
......@@ -31,7 +32,7 @@ include ../makeIncludes/general.mk
include ../makeIncludes/warnings.mk
include ../makeIncludes/optimization.mk
FLAGS = $(strip $(WARNINGS) $(OPTIMIZE) $(OTHER))
FLAGS = $(strip $(WARNINGS) $(OPTIMIZE) $(OTHER)) -std=c++11
parseDoxytags: ../src/docHelper/parseDoxytags.cpp
$(CXX) $(FLAGS) ../src/docHelper/parseDoxytags.cpp -o parseDoxytags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment