Skip to content

Commit

Permalink
build: Add "help" target to Makefile.in
Browse files Browse the repository at this point in the history
  • Loading branch information
vhda committed Sep 17, 2015
1 parent 5d45a67 commit 42008d0
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ ifdef TRAVIS
SHOW_DIFF_OUTPUT=--show-diff-output
endif

.PHONY: check units fuzz noise tmain tinst clean-units clean-tmain clean-gcov run-gcov codecheck
.PHONY: check units fuzz noise tmain tinst clean-units clean-tmain clean-gcov run-gcov codecheck help
check: tmain units

#
Expand Down Expand Up @@ -512,4 +512,27 @@ clean-gcov:
$(SILENT) rm -f $(SOURCES:.c=.gcda)
$(SILENT) rm -f $(srcdir)/*.gcov

#
# Help
#
help:
@echo "Compilation targets:"
@echo ""
@echo "make - Build $(CTAGS_PROG)"
@echo "make V=1 - Build $(CTAGS_PROG) - verbose output"
@echo "make -f mk_mingw.mak - Build $(CTAGS_PROG) using MinGW"
@echo "make -f mk_mingw.mak V=1 - Build $(CTAGS_PROG) using MinGW - verbose output"
@echo ""
@echo "Testing targets:"
@echo ""
@echo "make units - Run parser unit test cases"
@echo "make tmain - Run ctags main functionality test cases"
@echo "make fuzz - Verify that all parsers are able to properly process each available test unit"
@echo "make noise - TODO"
@echo
@echo "Arguments that can be used in testing targets:"
@echo "VG=1 - Run test cases with Valgrind memory profiler"
@echo "LANGUAGES=<language>[,<language>] - Only run test cases of the selected languages"
@echo "CATEGORIES=<category> - Only run tests available under folder Units/<category>.r"

# vi:set tabstop=8:

0 comments on commit 42008d0

Please sign in to comment.