- dh_compress -a
- dh_fixperms -a
-
- dh_installdeb -p idzebra
- dh_undocumented -p idzebra zebraidx.1 zebrasrv.1
- dh_shlibdeps -p idzebra $(LOCAL_LINK)
-
- # Ugh Ugly hack
- cat debian/postinst >> debian/idzebra/DEBIAN/postinst
-
- dh_gencontrol -p idzebra
- dh_md5sums -p idzebra
-
- # 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 doc
- -rm -rf debian/tmp/usr/include debian/tmp/usr/share/aclocal debian/tmp/usr/lib debian/tmp/usr/bin \
- debian/tmp/usr/share/idzebra
-
- dh_builddeb -p idzebra
-
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+ dh_makeshlibs -V 'libidzebra-2.0 (>= 2.0.0)' -X mod-
+ dh_installdeb
+ dh_shlibdeps -L libidzebra-2.0 -l debian/libidzebra-2.0/usr/lib
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb