git-svn: make the $GIT_DIR/svn/*/revs directory obsolete
[git.git] / contrib / git-svn / Makefile
index a330c61..d73aa56 100644 (file)
@@ -25,8 +25,20 @@ git-svn.1 : git-svn.xml
 git-svn.xml : git-svn.txt
        asciidoc -b docbook -d manpage \
                -f ../../Documentation/asciidoc.conf $<
-test:
-       cd t && $(SHELL) ./t0000-contrib-git-svn.sh
+git-svn.html : git-svn.txt
+       asciidoc -b xhtml11 -d manpage \
+               -f ../../Documentation/asciidoc.conf $<
+test: git-svn
+       cd t && $(SHELL) ./t0000-contrib-git-svn.sh $(TEST_FLAGS)
+       cd t && $(SHELL) ./t0001-contrib-git-svn-props.sh $(TEST_FLAGS)
+
+full-test:
+       $(MAKE) test GIT_SVN_NO_LIB=1 GIT_SVN_NO_OPTIMIZE_COMMITS=1
+       $(MAKE) test GIT_SVN_NO_LIB=0 GIT_SVN_NO_OPTIMIZE_COMMITS=1
+       $(MAKE) test GIT_SVN_NO_LIB=1 GIT_SVN_NO_OPTIMIZE_COMMITS=0 \
+                                                       LC_ALL=en_US.UTF-8
+       $(MAKE) test GIT_SVN_NO_LIB=0 GIT_SVN_NO_OPTIMIZE_COMMITS=0 \
+                                                       LC_ALL=en_US.UTF-8
 
 clean:
        rm -f git-svn *.xml *.html *.1