Bump version
[idzebra-moved-to-github.git] / debian / rules
index 7c99721..a202610 100755 (executable)
@@ -20,7 +20,7 @@ else
 MCFLAGS=
 endif
 
-ZEBRA_VERSION=1.3.2
+ZEBRA_VERSION=1.3.5
 ZEBRASRCDIR?=$(shell pwd)
 # If this is not IndexData's release, then it is a cvs-checkout. Go cheat!
 #   YAZ_VERSION:=$(YAZ_VERSION)-$(shell date -r$(YAZSRCDIR)/CVS +"CVS%Y%m%d")
@@ -32,7 +32,6 @@ LOCAL_LINK=-ldebian/idzebra/usr/lib
 $(ZEBRASRCDIR)/configure: $(ZEBRASRCDIR)/configure.in
        cd $(ZEBRASRCDIR); sh buildconf.sh
 
-configure: stamp-configure
 stamp-configure: $(ZEBRASRCDIR)/configure
        dh_testdir
 
@@ -76,7 +75,7 @@ stamp-install: stamp-build
 binary-indep: build install
        dh_testdir
        dh_testroot
-       dh_installdocs -p idzebra-doc doc/
+       dh_installdocs -p idzebra-doc doc/*.html doc/*.pdf
        dh_installchangelogs -p idzebra-doc
        dh_link -p idzebra-doc
        dh_strip -p idzebra-doc
@@ -103,10 +102,9 @@ binary-arch: build install
        dh_fixperms -a
 
        dh_installdeb -p idzebra
-       dh_undocumented -p idzebra zebraidx.1 zebrasrv.1
+       dh_installman -p idzebra doc/zebraidx.1 doc/zebrasrv.8
        dh_shlibdeps -p idzebra $(LOCAL_LINK) 
 
-       # Ugh Ugly hack
        cat debian/postinst >> debian/idzebra/DEBIAN/postinst
 
        dh_gencontrol -p idzebra
@@ -120,7 +118,6 @@ binary-arch: build install
 
        dh_builddeb -p idzebra
 
-
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install install-stamp configure