Unidiff1 files changed, 4 insertions, 1 deletions
|
diff --git a/Makefile b/Makefile index 685e662..72c189c 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -23,9 +23,9 @@ ifdef NEEDS_LIBICONV |
23 | EXTLIBS += -liconv |
23 | EXTLIBS += -liconv |
24 | endif |
24 | endif |
25 | |
25 | |
26 | |
26 | |
27 | .PHONY: all git install clean distclean emptycache force-version get-git |
27 | .PHONY: all git test install clean distclean emptycache force-version get-git |
28 | |
28 | |
29 | all: cgit git |
29 | all: cgit git |
30 | |
30 | |
31 | VERSION: force-version |
31 | VERSION: force-version |
@@ -53,8 +53,11 @@ git/libgit.a: | git |
53 | git: |
53 | git: |
54 | cd git && $(MAKE) xdiff/lib.a |
54 | cd git && $(MAKE) xdiff/lib.a |
55 | cd git && $(MAKE) libgit.a |
55 | cd git && $(MAKE) libgit.a |
56 | |
56 | |
| |
57 | test: all |
| |
58 | $(MAKE) -C tests |
| |
59 | |
57 | install: all |
60 | install: all |
58 | mkdir -p $(DESTDIR)$(CGIT_SCRIPT_PATH) |
61 | mkdir -p $(DESTDIR)$(CGIT_SCRIPT_PATH) |
59 | install cgit $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) |
62 | install cgit $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) |
60 | install cgit.css $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css |
63 | install cgit.css $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css |
|