diff options
author | John Keeping | 2015-03-08 16:32:15 +0000 |
---|---|---|
committer | Jason A. Donenfeld | 2015-03-09 17:38:22 +0100 |
commit | 5150b7c1e69b4b09821e438006cfd77d82edae3b (patch) | |
tree | 8ee926a5ddbe2e47a0e14ef3957b29201992c0f1 /Makefile | |
parent | 97a91657a5032aa984d91344b91e1c5a084c2f0d (diff) | |
download | cgit-5150b7c1e69b4b09821e438006cfd77d82edae3b.tar.gz cgit-5150b7c1e69b4b09821e438006cfd77d82edae3b.tar.bz2 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-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -68,6 +68,9 @@ all:: cgit | |||
68 | cgit: | 68 | cgit: |
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 | ||
71 | sparse: | ||
72 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) -f ../cgit.mk NO_CURL=1 cgit-sparse | ||
73 | |||
71 | test: | 74 | test: |
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 |