diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-03 14:16:00 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-03 14:16:00 -0800 |
commit | da94a08967155212a6948f01cd30f5e9b36191a8 (patch) | |
tree | 6699714bfee3ed237c8d21e05f419653a5a10bfb /contrib | |
parent | bd6934af9bb8c4b86026d6aeb3a9c85d32ae1790 (diff) | |
parent | 43cce5c8ed48ab955b3347f999cda7c1c33dde0a (diff) | |
download | git-da94a08967155212a6948f01cd30f5e9b36191a8.tar.gz git-da94a08967155212a6948f01cd30f5e9b36191a8.tar.xz |
Merge branch 'dg/subtree-test'
* dg/subtree-test:
contrib/subtree: Make testing easier
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/subtree/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile index 3071baf49..6afa9aafd 100644 --- a/contrib/subtree/Makefile +++ b/contrib/subtree/Makefile @@ -37,6 +37,7 @@ GIT_SUBTREE_DOC := git-subtree.1 GIT_SUBTREE_XML := git-subtree.xml GIT_SUBTREE_TXT := git-subtree.txt GIT_SUBTREE_HTML := git-subtree.html +GIT_SUBTREE_TEST := ../../git-subtree all:: $(GIT_SUBTREE) @@ -71,7 +72,10 @@ $(GIT_SUBTREE_HTML): $(GIT_SUBTREE_TXT) $(ASCIIDOC) -b xhtml11 -d manpage -f $(ASCIIDOC_CONF) \ -agit_version=$(GIT_VERSION) $^ -test: +$(GIT_SUBTREE_TEST): $(GIT_SUBTREE) + cp $< $@ + +test: $(GIT_SUBTREE_TEST) $(MAKE) -C t/ test clean: |