X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=b3bd8d3c906e8dfce5005598162cefa8a41710ef;hb=refs%2Fchanges%2F89%2F2889%2F1;hp=5808a3336c16d6f83830dd5d7faac1cd6f99e350;hpb=54ccf2261cb1f4afd966b7b1e92689183cb17836;p=vpp.git diff --git a/Makefile b/Makefile index 5808a3336c1..b3bd8d3c906 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,8 @@ help: @echo " ctags - (re)generate ctags database" @echo " gtags - (re)generate gtags database" @echo " cscope - (re)generate cscope database" + @echo " checkstyle - check coding style" + @echo " fixstyle - fix coding style" @echo " doxygen - (re)generate documentation" @echo " bootstrap-doxygen - setup Doxygen dependencies" @echo " wipe-doxygen - wipe all generated documentation" @@ -233,6 +235,11 @@ gtags: ctags cscope: cscope.files @cscope -b -q -v +checkstyle: + @build-root/scripts/checkstyle.sh + +fixstyle: + @build-root/scripts/checkstyle.sh --fix # # Build the documentation @@ -242,7 +249,7 @@ cscope: cscope.files export DOXY_DIR ?= $(WS_ROOT)/doxygen define make-doxy - @WS_ROOT="$(WS_ROOT)" BR="$(BR)" make -C $(DOXY_DIR) $@ + @OS_ID="$(OS_ID)" WS_ROOT="$(WS_ROOT)" BR="$(BR)" make -C $(DOXY_DIR) $@ endef .PHONY: bootstrap-doxygen doxygen wipe-doxygen