Revert "Build without redis on Debian squeeze, Ubuntu Lucid"
[yaz-moved-to-github.git] / debian / rules
1 #!/usr/bin/make -f
2 export DH_VERBOSE=1
3
4 %:
5         dh $@ --without python-support
6
7 override_dh_auto_configure:
8         dh_auto_configure -- \
9                 --enable-tcpd --with-xslt --with-gnutls --with-icu \
10                 --with-nettle \
11                 --with-memcached --with-redis
12
13 override_dh_strip:
14         dh_strip --dbg-package=libyaz5-dbg
15
16 override_dh_auto_install:
17         dh_auto_install
18         mv debian/tmp/usr/share/doc/yaz debian/tmp/usr/share/doc/yaz-doc
19
20 override_dh_makeshlibs:
21         dh_makeshlibs -V 'libyaz5 (>= 5.13.0)'
22
23 override_dh_installchangelogs:
24         dh_installchangelogs NEWS
25
26 override_dh_installdocs:
27         cp LICENSE debian/copyright
28         dh_installdocs -A README