contrib / git-svn / Makefileon commit Merge branch 'jc/diff' into next (cf1e6d1)
   1all: git-svn
   2
   3prefix?=$(HOME)
   4bindir=$(prefix)/bin
   5mandir=$(prefix)/man
   6man1=$(mandir)/man1
   7INSTALL?=install
   8doc_conf=../../Documentation/asciidoc.conf
   9-include ../../config.mak
  10
  11git-svn: git-svn.perl
  12        cp $< $@
  13        chmod +x $@
  14
  15install: all
  16        $(INSTALL) -d -m755 $(DESTDIR)$(bindir)
  17        $(INSTALL) git-svn $(DESTDIR)$(bindir)
  18
  19install-doc: doc
  20        $(INSTALL) git-svn.1 $(DESTDIR)$(man1)
  21
  22doc: git-svn.1
  23git-svn.1 : git-svn.xml
  24        xmlto man git-svn.xml
  25git-svn.xml : git-svn.txt
  26        asciidoc -b docbook -d manpage \
  27                -f ../../Documentation/asciidoc.conf $<
  28test:
  29        cd t && $(SHELL) ./t0000-contrib-git-svn.sh
  30
  31clean:
  32        rm -f git-svn *.xml *.html *.1