git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
blob 775cb07bf6de76a1588ecb5468a3e0da684e2066 1086 bytes (raw)
name: contrib/mw-to-git/Makefile 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
 
#
# Copyright (C) 2013
#     Matthieu Moy <Matthieu.Moy@imag.fr>
#
# To build and test:
#
#   make:
#     bin-wrapper/git mw preview Some_page.mw
#     bin-wrapper/git clone mediawiki::http://example.com/wiki/
#
# To install, run Git's toplevel 'make install' then run:
#
#   make install

GIT_MEDIAWIKI_PM=Git/Mediawiki.pm
SCRIPT_PERL=git-remote-mediawiki.perl
SCRIPT_PERL+=git-mw.perl
GIT_ROOT_DIR=../..
HERE=contrib/mw-to-git/

SCRIPT_PERL_FULL=$(patsubst %,$(HERE)/%,$(SCRIPT_PERL))
INSTLIBDIR=$(shell $(MAKE) -C $(GIT_ROOT_DIR)/perl \
                -s --no-print-directory instlibdir)

all: build

install_pm:
	install $(GIT_MEDIAWIKI_PM) $(INSTLIBDIR)/$(GIT_MEDIAWIKI_PM)

build:
	$(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL="$(SCRIPT_PERL_FULL)" \
                build-perl-script

install: install_pm
	$(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL="$(SCRIPT_PERL_FULL)" \
                install-perl-script

clean:
	$(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL="$(SCRIPT_PERL_FULL)" \
                clean-perl-script
	rm $(INSTLIBDIR)/$(GIT_MEDIAWIKI_PM)

perlcritic:
	perlcritic -2 *.perl

debug log:

solving 775cb07 ...
found 775cb07 in https://public-inbox.org/git/1372970340-6545-7-git-send-email-benoit.person@ensimag.fr/ ||
	https://public-inbox.org/git/1372804789-12732-7-git-send-email-benoit.person@ensimag.fr/ ||
	https://public-inbox.org/git/1372354652-4147-5-git-send-email-benoit.person@ensimag.fr/
found c5e66df in https://public-inbox.org/git/1372804789-12732-4-git-send-email-benoit.person@ensimag.fr/ ||
	https://public-inbox.org/git/1372970340-6545-4-git-send-email-benoit.person@ensimag.fr/ ||
	https://public-inbox.org/git/1372354652-4147-3-git-send-email-benoit.person@ensimag.fr/
found a6f8b24 in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100644 a6f8b24887dd3268a631d5e818f16cd535e8e622	contrib/mw-to-git/Makefile

applying [1/2] https://public-inbox.org/git/1372804789-12732-4-git-send-email-benoit.person@ensimag.fr/
diff --git a/contrib/mw-to-git/Makefile b/contrib/mw-to-git/Makefile
index a6f8b24..c5e66df 100644

Checking patch contrib/mw-to-git/Makefile...
Applied patch contrib/mw-to-git/Makefile cleanly.

skipping https://public-inbox.org/git/1372970340-6545-4-git-send-email-benoit.person@ensimag.fr/ for c5e66df
skipping https://public-inbox.org/git/1372354652-4147-3-git-send-email-benoit.person@ensimag.fr/ for c5e66df
index at:
100644 c5e66dfcdbf058e7732f97d44a0273ae7e253079	contrib/mw-to-git/Makefile

applying [2/2] https://public-inbox.org/git/1372970340-6545-7-git-send-email-benoit.person@ensimag.fr/
diff --git a/contrib/mw-to-git/Makefile b/contrib/mw-to-git/Makefile
index c5e66df..775cb07 100644

Checking patch contrib/mw-to-git/Makefile...
Applied patch contrib/mw-to-git/Makefile cleanly.

skipping https://public-inbox.org/git/1372804789-12732-7-git-send-email-benoit.person@ensimag.fr/ for 775cb07
skipping https://public-inbox.org/git/1372354652-4147-5-git-send-email-benoit.person@ensimag.fr/ for 775cb07
index at:
100644 775cb07bf6de76a1588ecb5468a3e0da684e2066	contrib/mw-to-git/Makefile

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).