contrib / diff-highlight / Makefileon commit config: add config_from_gitmodules (b22e51c)
   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
  20.PHONY: FORCE