summaryrefslogtreecommitdiff
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
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.
-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 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)
diff --git a/tools/applymbox b/tools/git-applymbox
index bc2dbf2..bc2dbf2 100755
--- a/tools/applymbox
+++ b/tools/git-applymbox
diff --git a/tools/applypatch b/tools/git-applypatch
index 5a3a44b..5a3a44b 100755
--- a/tools/applypatch
+++ b/tools/git-applypatch