1all: diff-highlight
23
PERL_PATH = /usr/bin/perl
4-include ../../config.mak
56
PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
78
diff-highlight: shebang.perl DiffHighlight.pm diff-highlight.perl
9cat $^ >$@+
10chmod +x $@+
11mv $@+ $@
1213
shebang.perl: FORCE
14@echo '#!$(PERL_PATH_SQ)' >$@+
15@cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@
1617
test: all
18$(MAKE) -C t
1920
.PHONY: FORCE