Update API use to 5.0.5 due to new yaz_marc_read_json_node
[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
11 override_dh_strip:
12         dh_strip --dbg-package=libyaz5-dbg
13
14 override_dh_auto_install:
15         dh_auto_install 
16         mv debian/tmp/usr/share/doc/yaz debian/tmp/usr/share/doc/yaz-doc
17
18 override_dh_makeshlibs:
19         dh_makeshlibs -V 'libyaz5 (>= 5.0.5)'
20
21 override_dh_installchangelogs:
22         dh_installchangelogs NEWS
23
24 override_dh_installdocs:
25         cp LICENSE debian/copyright
26         dh_installdocs -A README