- dh_compress -a
- dh_fixperms -a
-
- dh_installdeb -p libyaz
- dh_installdeb -p libyaz-dev
- dh_installdeb -p yaz
-
- dh_installman -p libyaz-dev doc/yaz-config.8
- dh_undocumented -p libyaz-dev yaz-comp.1
- dh_installman -p libyaz doc/yaz.7
- dh_installman -p yaz doc/yaz-client.1 doc/yaz-ztest.8 doc/zoomsh.1
- dh_installman -p yaz doc/yaz-client-ssl.1 doc/yaz-ztest-ssl.8
-
- echo "libyaz 2 libyaz (>= 2.0.2)" > debian/libyaz/DEBIAN/shlibs
- echo "libyazthread 2 libyaz (>= 2.0.2)" >> debian/libyaz/DEBIAN/shlibs
- echo "libyazmalloc 2 libyaz (>= 2.0.2)" >> debian/libyaz/DEBIAN/shlibs
- echo "libyazssl 2 libyaz (>= 2.0.2)" >> debian/libyaz/DEBIAN/shlibs
- chmod 644 debian/libyaz/DEBIAN/shlibs
- dh_shlibdeps -p libyaz $(LOCAL_LINK)
- cat debian/postinst >> debian/libyaz/DEBIAN/postinst
-
- dh_gencontrol -p libyaz
- dh_md5sums -p libyaz
-
- dh_gencontrol -p libyaz-dev
- dh_md5sums -p libyaz-dev
-
- dh_gencontrol -p yaz
- dh_md5sums -p yaz
-
- # Go kill those CVS-dirs before build
- -find debian/tmp -type d -name CVS | xargs rm -rf
- # For some reason it is necessary to remove empty-dirs in yaz-doc
- -rm -rf debian/tmp/usr/include debian/tmp/usr/share/aclocal debian/tmp/usr/lib debian/tmp/usr/bin \
- debian/tmp/usr/share/yaz
-
- dh_builddeb -p libyaz
- dh_builddeb -p libyaz-dev
- dh_builddeb -p yaz
-