2012-07-06 12:03:05 +02:00
|
|
|
#
|
2013-02-08 18:31:17 +01:00
|
|
|
# Copyright (C) 2013
|
|
|
|
# Matthieu Moy <Matthieu.Moy@imag.fr>
|
2012-07-06 12:03:05 +02:00
|
|
|
#
|
|
|
|
## Build git-remote-mediawiki
|
|
|
|
|
2013-02-08 18:31:17 +01:00
|
|
|
SCRIPT_PERL=git-remote-mediawiki.perl
|
|
|
|
GIT_ROOT_DIR=../..
|
|
|
|
HERE=contrib/mw-to-git/
|
2012-07-06 12:03:05 +02:00
|
|
|
|
2013-02-08 18:31:17 +01:00
|
|
|
SCRIPT_PERL_FULL=$(patsubst %,$(HERE)/%,$(SCRIPT_PERL))
|
2012-07-06 12:03:05 +02:00
|
|
|
|
2013-02-08 18:31:17 +01:00
|
|
|
all: build
|
2012-07-06 12:03:05 +02:00
|
|
|
|
2013-02-08 18:31:17 +01:00
|
|
|
build install clean:
|
|
|
|
$(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL=$(SCRIPT_PERL_FULL) \
|
|
|
|
$@-perl-script
|
2013-06-14 15:50:38 +02:00
|
|
|
perlcritic:
|
|
|
|
perlcritic -2 *.perl
|