about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Keeping2015-03-08 16:32:15 +0000
committerJason A. Donenfeld2015-03-09 17:38:22 +0100
commit5150b7c1e69b4b09821e438006cfd77d82edae3b (patch)
tree8ee926a5ddbe2e47a0e14ef3957b29201992c0f1 /Makefile
parentgit: update to v2.3.2 (diff)
downloadcgit-5150b7c1e69b4b09821e438006cfd77d82edae3b.tar.gz
cgit-5150b7c1e69b4b09821e438006cfd77d82edae3b.zip
Makefile: add a target to run CGit through sparse
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile index ed329e8..42ed230 100644 --- a/Makefile +++ b/Makefile
@@ -68,6 +68,9 @@ all:: cgit
68cgit: 68cgit:
69 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) -f ../cgit.mk ../cgit $(EXTRA_GIT_TARGETS) NO_CURL=1 69 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) -f ../cgit.mk ../cgit $(EXTRA_GIT_TARGETS) NO_CURL=1
70 70
71sparse:
72 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) -f ../cgit.mk NO_CURL=1 cgit-sparse
73
71test: 74test:
72 @$(MAKE) --no-print-directory cgit EXTRA_GIT_TARGETS=all 75 @$(MAKE) --no-print-directory cgit EXTRA_GIT_TARGETS=all
73 $(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all 76 $(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all