blob: 9ac190ead6246c875981c2e65f43cdf25755b1eb (
plain)
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
|
#!/usr/bin/make -f
VERSION=$(shell dpkg-parsechangelog | sed -n 's/^Version:\([^-]*\)/\1/p')
%:
dh --with python2 $@
override_dh_auto_configure:
cp version debian/version.pre-build
echo $(VERSION) > version
dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch
override_dh_auto_build:
dh_auto_build
dh_auto_build --sourcedirectory bindings/python
override_dh_auto_clean:
-mv debian/version.pre-build version
dh_auto_clean
dh_auto_clean --sourcedirectory bindings/python
override_dh_auto_install:
dh_auto_install
dh_auto_install --sourcedirectory bindings/python
override_dh_installdocs:
dh_installdocs
install -m644 vim/README debian/notmuch/usr/share/doc/notmuch/README.vim
override_dh_auto_build:
make RPATH_LDFLAGS=""
override_dh_install:
dh_install
install -m644 vim/plugin/notmuch.vim debian/notmuch/usr/share/vim/addons/plugin
install -m644 vim/syntax/notmuch-*.vim debian/notmuch/usr/share/vim/addons/syntax
install -m644 vim/notmuch.yaml debian/notmuch/usr/share/vim/registry
|