unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 7c7247a2a19c13091193302bba2ed14d51d3277a 1152 bytes (raw)
name: debian/rules 	 # 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
 
#!/usr/bin/make -f

python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {}

%:
	dh $@ --with python2,python3

override_dh_auto_configure:
	dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch

override_dh_auto_build:
	dh_auto_build
	dh_auto_build --sourcedirectory bindings/python
	cd bindings/python && $(python3_all) setup.py build
	dh_auto_build --sourcedirectory bindings/ruby
	cd bindings/ruby && ruby extconf.rb && make
	$(MAKE) -C contrib/notmuch-mutt

override_dh_auto_clean:
	dh_auto_clean
	dh_auto_clean --sourcedirectory bindings/python
	cd bindings/python && $(python3_all) setup.py clean -a
	dh_auto_build --sourcedirectory bindings/ruby
	cd bindings/ruby && test -f Makefile && make clean || true
	$(MAKE) -C contrib/notmuch-mutt clean

override_dh_auto_install:
	dh_auto_install
	dh_auto_install --sourcedirectory bindings/python
	cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp
	dh_auto_build --sourcedirectory bindings/ruby
	cd bindings/ruby && make install DESTDIR=$(CURDIR)/debian/tmp

# ruby's site is configured in /usr/local
override_dh_usrlocal:

debug log:

solving 7c7247a ...
found 7c7247a in https://yhetil.org/notmuch/1365031678-25188-1-git-send-email-felipe.contreras@gmail.com/
found c4e3930 in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100755 c4e3930da5fb931c4e1bd39e017884e33d8e9a53	debian/rules

applying [1/1] https://yhetil.org/notmuch/1365031678-25188-1-git-send-email-felipe.contreras@gmail.com/
diff --git a/debian/rules b/debian/rules
index c4e3930..7c7247a 100755

Checking patch debian/rules...
Applied patch debian/rules cleanly.

index at:
100755 7c7247a2a19c13091193302bba2ed14d51d3277a	debian/rules

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