Merge branch 'dk/version-gen-gitdir' into maint
[git] / contrib / mw-to-git / Makefile
1 #
2 # Copyright (C) 2013
3 #     Matthieu Moy <Matthieu.Moy@imag.fr>
4 #
5 ## Build git-remote-mediawiki
6
7 SCRIPT_PERL=git-remote-mediawiki.perl
8 GIT_ROOT_DIR=../..
9 HERE=contrib/mw-to-git/
10
11 SCRIPT_PERL_FULL=$(patsubst %,$(HERE)/%,$(SCRIPT_PERL))
12
13 all: build
14
15 build install clean:
16         $(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL=$(SCRIPT_PERL_FULL) \
17                 $@-perl-script