]> Lady’s Gitweb - Gitweb/blobdiff - Makefile
gitweb: Mark matched 'ctag' / contents tag (?by_tag=foo)
[Gitweb] / Makefile
index 2f6b8f5bf900fb5fd6d535867099878861dd0e671539fe2a2905a633cdacab7f..4a08f4257d82480ed4b2b6bec4647f41277fe3e51efe8127ed77764fc05e7d23 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,7 @@ HIGHLIGHT_BIN = highlight
 # include user config
 -include ../config.mak.autogen
 -include ../config.mak
+-include config.mak
 
 # determine version
 ../GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
@@ -145,6 +146,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 +168,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
 
This page took 0.210306 seconds and 4 git commands to generate.