summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-07-16 16:22:04 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-07-16 17:16:08 -0400
commit76278801e7012e33b0f501858ca050983e07215d (patch)
tree81ed683c608a640503b88d18ca82d414ce363bbe /Makefile
parentf45a9ef3b625239f48fc43a559dcb573d7454c21 (diff)
Add a `git-mergetool` stub for ediff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 49fc309..011f33a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
bash=/usr/bin/env bash
+gitexecdir=$(libexecdir)/git-core
EDIT = { m4 -P | sed -e 's|@bash@|$(bash)|g' -e 's|@VERSION@|$(VERSION)|'; }
@@ -15,6 +16,7 @@ desktops = emacsmail emacsterm
files.out.all += $(programs)
files.sys.all += $(addprefix $(bindir)/,$(programs)) $(foreach d,$(desktops),$(datarootdir)/applications/$d.desktop)
+files.sys.all += $(gitexecdir)/mergetools/ediff
files.out.int += *.sh
%.sh: %.sh.in common.sh.in .var.bash .var.VERSION
@@ -26,6 +28,9 @@ $(DESTDIR)$(bindir)/%: %
$(DESTDIR)$(datarootdir)/applications/%: %
$(NORMAL_INSTALL)
$(INSTALL_DATA) -D $< $@
+$(DESTDIR)$(gitexecdir)/mergetools/%: %.git-mergetool
+ $(NORMAL_INSTALL)
+ $(INSTALL_DATA) -D $< $@
.DELETE_ON_ERROR:
.SECONDARY: