Merge branch 'jk/contrib-subtree-make-all'

* jk/contrib-subtree-make-all:
  subtree: make "all" default target of Makefile
This commit is contained in:
Junio C Hamano 2014-09-11 10:33:26 -07:00
commit 49feda62bd

View File

@ -1,3 +1,6 @@
# The default target of this Makefile is...
all::
-include ../../config.mak.autogen
-include ../../config.mak
@ -34,7 +37,7 @@ GIT_SUBTREE_XML := git-subtree.xml
GIT_SUBTREE_TXT := git-subtree.txt
GIT_SUBTREE_HTML := git-subtree.html
all: $(GIT_SUBTREE)
all:: $(GIT_SUBTREE)
$(GIT_SUBTREE): $(GIT_SUBTREE_SH)
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' $< >$@