Makefile: add a target to run CGit through sparse

Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
John Keeping
2015-03-08 16:32:15 +00:00
committed by Jason A. Donenfeld
parent 97a91657a5
commit 5150b7c1e6
2 changed files with 11 additions and 1 deletions

View File

@@ -68,6 +68,9 @@ all:: cgit
cgit:
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) -f ../cgit.mk ../cgit $(EXTRA_GIT_TARGETS) NO_CURL=1
sparse:
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) -f ../cgit.mk NO_CURL=1 cgit-sparse
test:
@$(MAKE) --no-print-directory cgit EXTRA_GIT_TARGETS=all
$(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all