git-remote-mediawiki build: make 'install' command configurable
On some machines, the most usable 'install' tool is named 'ginstall'. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Acked-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
c311741331
commit
33f918c675
@ -11,6 +11,8 @@ SCRIPT_PERL=git-remote-mediawiki.perl
|
||||
GIT_ROOT_DIR=../..
|
||||
HERE=contrib/mw-to-git/
|
||||
|
||||
INSTALL = install
|
||||
|
||||
SCRIPT_PERL_FULL=$(patsubst %,$(HERE)/%,$(SCRIPT_PERL))
|
||||
INSTLIBDIR=$(shell $(MAKE) -C $(GIT_ROOT_DIR)/perl \
|
||||
-s --no-print-directory instlibdir)
|
||||
@ -18,8 +20,8 @@ INSTLIBDIR=$(shell $(MAKE) -C $(GIT_ROOT_DIR)/perl \
|
||||
all: build
|
||||
|
||||
install_pm:
|
||||
install -d -m 755 $(DESTDIR)$(INSTLIBDIR)/Git
|
||||
install -m 644 $(GIT_MEDIAWIKI_PM) \
|
||||
$(INSTALL) -d -m 755 $(DESTDIR)$(INSTLIBDIR)/Git
|
||||
$(INSTALL) -m 644 $(GIT_MEDIAWIKI_PM) \
|
||||
$(DESTDIR)$(INSTLIBDIR)/$(GIT_MEDIAWIKI_PM)
|
||||
|
||||
build:
|
||||
|
Loading…
Reference in New Issue
Block a user