Commit c5a407c68ed2c9a96861f91f860f1deadef49df6

Authored by Jürgen Knödlseder
1 parent 49606587

Add help target (see #1048)

Showing 1 changed file with 18 additions and 0 deletions
Makefile.am
... ... @@ -49,6 +49,24 @@ uninstall-local: $(DOXYGEN_UNINSTALL_DATA_TARGETS)
49 49 # Rules
50 50 .PHONY: doxygen-run doxygen-doc $(DX_PS_GOAL) $(DX_PDF_GOAL)
51 51  
  52 +# Print out all rules
  53 +help:
  54 + @echo "make targets:"; \
  55 + echo " all - build all"; \
  56 + echo " check - unit test"; \
  57 + echo " clean - clean build"; \
  58 + echo " install - install build (may required admin privileges)"; \
  59 + echo " doxygen - generate Doxygen documentation"; \
  60 + echo " sphinx - generate Sphinx documentation"; \
  61 + echo " cppcheck - perform cppcheck"; \
  62 + echo " sloccount - perform Source Lines of Code count"; \
  63 + echo " cppncss - perform cppncss complexity check"; \
  64 + echo " coverage - determine code coverage"; \
  65 + echo " valgrind - search for memory leaks"; \
  66 + echo " doc: doxygen sphinx"; \
  67 + echo " static-analysis: cppcheck sloccount cppncss"; \
  68 + echo " dynamic-analysis: coverage valgrind"
  69 +
52 70 # Add static-analysis rule:
53 71 static-analysis: cppcheck sloccount cppncss
54 72  
... ...