projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] add *--no-merges* flag to suppress display of merge commits
[git.git]
/
tools
/
Makefile
diff --git
a/tools/Makefile
b/tools/Makefile
index
5c07cec
..
e423af9
100644
(file)
--- a/
tools/Makefile
+++ b/
tools/Makefile
@@
-7,17
+7,20
@@
CFLAGS=-g $(COPTS) -Wall
INSTALL=install
HOME=$(shell echo $$HOME)
prefix=$(HOME)
INSTALL=install
HOME=$(shell echo $$HOME)
prefix=$(HOME)
-bin=$(prefix)/bin
+bin
dir
=$(prefix)/bin
# dest=
# 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)
install: $(PROGRAMS) $(SCRIPTS)
all: $(PROGRAMS)
install: $(PROGRAMS) $(SCRIPTS)
- $(INSTALL) -m755 -d $(dest)$(bin)
- $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(dest)$(bin)
+ $(INSTALL) -m755 -d $(dest)$(bin
dir
)
+ $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(dest)$(bin
dir
)
clean:
rm -f $(PROGRAMS) *.o
clean:
rm -f $(PROGRAMS) *.o