unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob bc821fea59832b65bebeda3d90e3eeb432f47106 1012 bytes (raw)
name: doc/rst2man/Makefile.local 	 # 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
 
# -*- Makefile -*-
dir := doc/rst2man

prerst2man := python $(dir)/prerst2man.py $(dir)/.. $(dir)

%.1 :%.rst
	rst2man $< > $@

%.5 :%.rst
	rst2man $< > $@

%.7: %.rst
	rst2man $< > $@

# actual source files
RST1SRC := $(wildcard doc/man1/*.rst)
RST5SRC	:= $(wildcard doc/man5/*.rst)
RST7SRC := $(wildcard doc/man7/*.rst)

RST2MAN1SRC := $(patsubst doc/man1/%,doc/rst2man/man1/%,$(RST1SRC))
RST2MAN5SRC := $(patsubst doc/man5/%,doc/rst2man/man5/%,$(RST5SRC))
RST2MAN7SRC := $(patsubst doc/man7/%,doc/rst2man/man7/%,$(RST7SRC))

RST2MANSRC := ${RST2MAN1SRC} ${RST2MAN5SRC} ${RST2MAN7SRC}

MAN1SRC := $(patsubst $(dir)/man1/%.rst,$(dir)/man1/%.1,${RST2MAN1SRC})
MAN5SRC := $(patsubst $(dir)/man5/%.rst,$(dir)/man5/%.5,${RST2MAN5SRC})
MAN7SRC := $(patsubst $(dir)/man7/%.rst,$(dir)/man7/%.7,${RST2MAN7SRC})
MANSRC := ${MAN1SRC} ${MAN5SRC} ${MAN7SRC}

rst2man: ${MANSRC}

${RST2MANSRC}: ${RSTSRC}
	mkdir -p doc/rst2man/man1 doc/rst2man/man5 doc/rst2man/man7
	$(prerst2man)

CLEAN := ${CLEAN} ${RST2MANSRC} ${MANSRC}

debug log:

solving bc821fe ...
found bc821fe in https://yhetil.org/notmuch/1393329181-17404-3-git-send-email-david@tethera.net/ ||
	https://yhetil.org/notmuch/1393114575-8756-3-git-send-email-david@tethera.net/

applying [1/1] https://yhetil.org/notmuch/1393329181-17404-3-git-send-email-david@tethera.net/
diff --git a/doc/rst2man/Makefile.local b/doc/rst2man/Makefile.local
new file mode 100644
index 0000000..bc821fe

Checking patch doc/rst2man/Makefile.local...
Applied patch doc/rst2man/Makefile.local cleanly.

skipping https://yhetil.org/notmuch/1393114575-8756-3-git-send-email-david@tethera.net/ for bc821fe
index at:
100644 bc821fea59832b65bebeda3d90e3eeb432f47106	doc/rst2man/Makefile.local

(*) 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://yhetil.org/notmuch.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).