Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'dg/subtree-test'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 3 Feb 2016 22:16:00 +0000
(14:16 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 3 Feb 2016 22:16:00 +0000
(14:16 -0800)
* dg/subtree-test:
contrib/subtree: Make testing easier
contrib/subtree/Makefile
patch
|
blob
|
history
raw
(from parent 1:
bd6934a
)
diff --git
a/contrib/subtree/Makefile
b/contrib/subtree/Makefile
index 3071baf493442e8bfb3f34252f9c0d13801343b1..6afa9aafdf3b85b44e69aac419d0cd611bb48017 100644
(file)
--- 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: