-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -23,9 +23,9 @@ ifdef NEEDS_LIBICONV EXTLIBS += -liconv endif -.PHONY: all git install clean distclean emptycache force-version get-git +.PHONY: all git test install clean distclean emptycache force-version get-git all: cgit git VERSION: force-version @@ -53,8 +53,11 @@ git/libgit.a: | git git: cd git && $(MAKE) xdiff/lib.a cd git && $(MAKE) libgit.a +test: all + $(MAKE) -C tests + install: all mkdir -p $(DESTDIR)$(CGIT_SCRIPT_PATH) install cgit $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) install cgit.css $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css |