X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/4c5364374e5086b5076bbe3730d6e7af8b0960bb722eed751835d6346b65263e..2386e13a15459900abad81a305afe7cfea385224b3d3d663375dd17172b6ddaa:/Makefile diff --git a/Makefile b/Makefile index 2f6b8f5..3eb5f55 100644 --- a/Makefile +++ b/Makefile @@ -145,6 +145,15 @@ gitweb.cgi: gitweb.perl GITWEB-BUILD-OPTIONS chmod +x $@+ && \ mv $@+ $@ +### Testing rules + +test: + $(MAKE) -C ../t gitweb-test + +test-installed: + GITWEB_TEST_INSTALLED='$(DESTDIR_SQ)$(gitwebdir_SQ)' \ + $(MAKE) -C ../t gitweb-test + ### Installation rules install: all @@ -158,5 +167,5 @@ install: all clean: $(RM) gitweb.cgi static/gitweb.min.js static/gitweb.min.css GITWEB-BUILD-OPTIONS -.PHONY: all clean install .FORCE-GIT-VERSION-FILE FORCE +.PHONY: all clean install test test-installed .FORCE-GIT-VERSION-FILE FORCE