aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-23 18:46:27 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-23 18:46:27 -0700
commitfd1fcd9f57406cd5f278adb6b3ceeb1b7637062a (patch)
tree5cf73dc0ead0f081222ef2c7f16210c922b39b52 /tools
parentc0a58fbb511028a3500987417376a5cfb2c141da (diff)
downloadgit-fd1fcd9f57406cd5f278adb6b3ceeb1b7637062a.tar.gz
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')
-rw-r--r--tools/Makefile7
-rwxr-xr-xtools/git-applymbox (renamed from tools/applymbox)0
-rwxr-xr-xtools/git-applypatch (renamed from tools/applypatch)0
3 files changed, 5 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 5c07cec0ea..a16b667964 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)
diff --git a/tools/applymbox b/tools/git-applymbox
index bc2dbf26a9..bc2dbf26a9 100755
--- a/tools/applymbox
+++ b/tools/git-applymbox
diff --git a/tools/applypatch b/tools/git-applypatch
index 5a3a44b0e6..5a3a44b0e6 100755
--- a/tools/applypatch
+++ b/tools/git-applypatch