mirror of
https://github.com/git/git.git
synced 2024-10-31 06:17:56 +01:00
1986768f9c
This makes the Makefile simpler, while providing more features, and more consistency (the exact same rules with the exact same configuration as Git official commands are applied with the new version). Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
17 lines
363 B
Makefile
17 lines
363 B
Makefile
#
|
|
# 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
|