gpg-interface: modernize function declarations
[git/debian.git] / contrib / diff-highlight / Makefile
blobf2be7cc92437191219d16ddf1536883da23541c0
1 all: diff-highlight
3 PERL_PATH = /usr/bin/perl
4 -include ../../config.mak
6 PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
8 diff-highlight: shebang.perl DiffHighlight.pm diff-highlight.perl
9 cat $^ >$@+
10 chmod +x $@+
11 mv $@+ $@
13 shebang.perl: FORCE
14 @echo '#!$(PERL_PATH_SQ)' >$@+
15 @cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@
17 test: all
18 $(MAKE) -C t
20 clean:
21 $(RM) diff-highlight
23 .PHONY: FORCE