summaryrefslogtreecommitdiff
path: root/contrib/mw-to-git/Makefile
blob: f14971987c3d14892ad212485c4b1662d73165f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Copyright (C) 2013
#     Matthieu Moy <Matthieu.Moy@imag.fr>
#
## Build git-remote-mediawiki

SCRIPT_PERL=git-remote-mediawiki.perl
GIT_ROOT_DIR=../..
HERE=contrib/mw-to-git/

SCRIPT_PERL_FULL=$(patsubst %,$(HERE)/%,$(SCRIPT_PERL))

all: build

build install clean:
	$(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL=$(SCRIPT_PERL_FULL) \
                $@-perl-script