Version 1.3.50.
[idzebra-moved-to-github.git] / debian / rules
index ea30983..fdcc478 100755 (executable)
@@ -9,9 +9,9 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatability version to use.
-export DH_COMPAT=2
+export DH_COMPAT=4
 
-CONFIG_FLAGS=--with-tclconfig=/usr/lib/tcl8.3 --with-yazconfig=/usr/bin --prefix=/usr
+CONFIG_FLAGS=--with-tclconfig=/usr/lib/tcl8.3 --with-yaz=/usr/bin --prefix=/usr
 
 # Enable parallel builds if CONCURRENCY_LEVEL is set
 ifdef CONCURRENCY_LEVEL
@@ -97,7 +97,7 @@ binary-arch: build install
 
        dh_installdeb -p idzebra
        #dh_installman -p idzebra doc/zebraidx.1 doc/zebrasrv.8
-       dh_installman -p idzebra debian/tmp/usr/man/man1/zebraidx.1 debian/tmp/usr/man/man8/zebrasrv.8
+       dh_installman -p idzebra debian/tmp/usr/share/man/man1/zebraidx-1.3.1 debian/tmp/usr/share/man/man8/zebrasrv-1.3.8
 
        dh_strip
        dh_compress -a
@@ -105,9 +105,6 @@ binary-arch: build install
 
        dh_shlibdeps -p idzebra $(LOCAL_LINK) 
 
-       cat debian/postinst >> debian/idzebra/DEBIAN/postinst
-       chmod +x debian/idzebra/DEBIAN/postinst
-
        dh_gencontrol -p idzebra
        dh_md5sums -p idzebra