contrib / diff-highlight / Makefileon commit Merge branch 'ks/verify-filename-non-option-error-message-tweak' (2a5aa82)
   1all: diff-highlight
   2
   3PERL_PATH = /usr/bin/perl
   4-include ../../config.mak
   5
   6PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
   7
   8diff-highlight: shebang.perl DiffHighlight.pm diff-highlight.perl
   9        cat $^ >$@+
  10        chmod +x $@+
  11        mv $@+ $@
  12
  13shebang.perl: FORCE
  14        @echo '#!$(PERL_PATH_SQ)' >$@+
  15        @cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@
  16
  17test: all
  18        $(MAKE) -C t
  19
  20clean:
  21        $(RM) diff-highlight
  22
  23.PHONY: FORCE