summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-24 01:46:27 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-24 01:46:27 (GMT)
commitfd1fcd9f57406cd5f278adb6b3ceeb1b7637062a (patch)
tree5cf73dc0ead0f081222ef2c7f16210c922b39b52 /tools/Makefile
parentc0a58fbb511028a3500987417376a5cfb2c141da (diff)
downloadgit-fd1fcd9f57406cd5f278adb6b3ceeb1b7637062a.zip
git-fd1fcd9f57406cd5f278adb6b3ceeb1b7637062a.tar.gz
git-fd1fcd9f57406cd5f278adb6b3ceeb1b7637062a.tar.bz2
Rename the "tools" programs to also have the "git-" prefix
Hey, people are using them, and we have an install target for them, so make sure that we can actually install them sanely without disturbing the namespace.
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 5c07cec..a16b667 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -10,8 +10,11 @@ prefix=$(HOME)
bin=$(prefix)/bin
# dest=
-PROGRAMS=mailsplit mailinfo
-SCRIPTS=applymbox applypatch
+PROGRAMS=git-mailsplit git-mailinfo
+SCRIPTS=git-applymbox git-applypatch
+
+git-%: %.c
+ $(CC) $(CFLAGS) -o $@ $(filter %.c,$^)
all: $(PROGRAMS)