mirror of
https://github.com/git/git.git
synced 2024-11-17 14:34:49 +01:00
36f5b1f0c8
Unlike my earlier test patch, this also checks svn:eol-style and makes sure it's applied to working copy updates. This is definitely more correct than my original attempt at killing keyword expansions, but I still haven't tested it enough to know. Feedback would be much appreciated. Also changed assert_svn_wc_clean() to only work on the svn working copy. This requires a separate call to assert_tree() to check wc integrity against git in preparation for another change I'm planning. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
36 lines
795 B
Makefile
36 lines
795 B
Makefile
all: git-svn
|
|
|
|
prefix?=$(HOME)
|
|
bindir=$(prefix)/bin
|
|
mandir=$(prefix)/man
|
|
man1=$(mandir)/man1
|
|
INSTALL?=install
|
|
doc_conf=../../Documentation/asciidoc.conf
|
|
-include ../../config.mak
|
|
|
|
git-svn: git-svn.perl
|
|
cp $< $@
|
|
chmod +x $@
|
|
|
|
install: all
|
|
$(INSTALL) -d -m755 $(DESTDIR)$(bindir)
|
|
$(INSTALL) git-svn $(DESTDIR)$(bindir)
|
|
|
|
install-doc: doc
|
|
$(INSTALL) git-svn.1 $(DESTDIR)$(man1)
|
|
|
|
doc: git-svn.1
|
|
git-svn.1 : git-svn.xml
|
|
xmlto man git-svn.xml
|
|
git-svn.xml : git-svn.txt
|
|
asciidoc -b docbook -d manpage \
|
|
-f ../../Documentation/asciidoc.conf $<
|
|
git-svn.html : git-svn.txt
|
|
asciidoc -b xhtml11 -d manpage \
|
|
-f ../../Documentation/asciidoc.conf $<
|
|
test: git-svn
|
|
cd t && $(SHELL) ./t0000-contrib-git-svn.sh
|
|
cd t && $(SHELL) ./t0001-contrib-git-svn-props.sh
|
|
|
|
clean:
|
|
rm -f git-svn *.xml *.html *.1
|