aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-07-22 19:09:20 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-22 20:34:16 -0700
commit8cc393068aedc7378166ccc013d3954cd87f0deb (patch)
treee01fed085f595dfda06fda1d9c3b263000ffcb8c /Makefile
parentf6e1a4d6dc4d1b3d82d5e87fdd817b3994dda5e0 (diff)
downloadgit-8cc393068aedc7378166ccc013d3954cd87f0deb.tar.gz
[PATCH] Install tools with "make install-tools".
Match the main Makefile by separating COPTS from CFLAGS, defining INSTALL, prefix, and bin. Add a new target 'install-tools' to the main Makefile to install them. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4575cf6727..d440f82967 100644
--- a/Makefile
+++ b/Makefile
@@ -195,12 +195,16 @@ test: all
doc:
$(MAKE) -C Documentation all
+install-tools:
+ $(MAKE) -C tools install
+
install-doc:
$(MAKE) -C Documentation install
clean:
rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(LIB_FILE)
rm -f git-core-*.tar.gz git-core.spec
+ $(MAKE) -C tools/ clean
$(MAKE) -C Documentation/ clean
backup: clean