- dh_compress -a
- dh_fixperms -a
-
- 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)
-
- 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
-