]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Rename the "tools" programs to also have the "git-" prefix
authorLinus Torvalds <torvalds@g5.osdl.org>
Sun, 24 Jul 2005 01:46:27 +0000 (18:46 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 24 Jul 2005 01:46:27 +0000 (18:46 -0700)
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.

tools/Makefile
tools/git-applymbox [moved from tools/applymbox with 100% similarity]
tools/git-applypatch [moved from tools/applypatch with 100% similarity]

index 5c07cec0eaf51ee4421712f60bdbfd3fc21a3dcd..a16b667964e49d2924b4c5a606598518e7575821 100644 (file)
@@ -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)
 
similarity index 100%
rename from tools/applymbox
rename to tools/git-applymbox
similarity index 100%
rename from tools/applypatch
rename to tools/git-applypatch