unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 855438be35779a8497a9a7b4981892fe66af05e3 637 bytes (raw)
name: contrib/notmuch-mutt/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
 
NAME = notmuch-mutt

-include ../../Makefile.config
PERL_ABSOLUTE ?= $(shell command -v perl 2>/dev/null)
prefix ?= /usr/local
sysconfdir ?= ${prefix}/etc
mandir ?= ${prefix}/share/man

all: $(NAME) $(NAME).1

$(NAME).1: $(NAME)
	pod2man $< > $@

README.html: README
	markdown $< > $@

install: all
	mkdir -p $(DESTDIR)$(prefix)/bin
	sed "1s|^#!.*|#! $(PERL_ABSOLUTE)|" < $(NAME) > $(DESTDIR)$(prefix)/bin/$(NAME)
	chmod 755 $(DESTDIR)$(prefix)/bin/$(NAME)
	install -D -m 644 $(NAME).1 $(DESTDIR)$(mandir)/man1/$(NAME).1
	install -D -m 644 $(NAME).rc $(DESTDIR)$(sysconfdir)/Muttrc.d/$(NAME).rc

clean:
	rm -f notmuch-mutt.1 README.html

debug log:

solving 855438be ...
found 855438be in https://yhetil.org/notmuch.git/

(*) 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).