interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / contrib / diff-highlight / Makefile

24 lines · 440 bytes Raw Blame History
1# The default target of this Makefile is...
2all:: diff-highlight
3
4PERL_PATH = /usr/bin/perl
5-include ../../config.mak
6
7PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
8
9diff-highlight: shebang.perl DiffHighlight.pm diff-highlight.perl
10 cat $^ >$@+
11 chmod +x $@+
12 mv $@+ $@
13
14shebang.perl: FORCE
15 @echo '#!$(PERL_PATH_SQ)' >$@+
16 @cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@
17
18test: all
19 $(MAKE) -C t
20
21clean:
22 $(RM) diff-highlight
23
24.PHONY: FORCE