Remove unnecessary make rule
[yaz-moved-to-github.git] / debian / rules
index c98e936..9ba9281 100755 (executable)
@@ -28,7 +28,7 @@ else
 SSL_FLAGS=
 endif
 
-YAZ_VERSION=1.8.6
+YAZ_VERSION=1.9.1
 YAZSRCDIR?=$(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")
@@ -40,7 +40,6 @@ LOCAL_LINK=-ldebian/yaz-runtime/usr/lib:debian/yaz-ssl/usr/lib
 $(YAZSRCDIR)/configure: $(YAZSRCDIR)/configure.in
        cd $(YAZSRCDIR); sh buildconf.sh
 
-configure: stamp-configure
 stamp-configure: $(YAZSRCDIR)/configure
        dh_testdir
 
@@ -133,18 +132,17 @@ ifeq ($(YAZ_WITH_SSL),1)
        dh_shlibdeps -p yaz-ssl $(LOCAL_LINK)
        cat debian/postinst >> debian/yaz-ssl/DEBIAN/postinst
 endif
-       # Ugh Ugly hack
        cat debian/postinst >> debian/yaz-runtime/DEBIAN/postinst
 
-       dh_md5sums -p yaz-runtime
        dh_gencontrol -p yaz-runtime
+       dh_md5sums -p yaz-runtime
 
-       dh_md5sums -p yaz-devel
        dh_gencontrol -p yaz-devel
+       dh_md5sums -p yaz-devel
 
 ifeq ($(YAZ_WITH_SSL),1)
-       dh_md5sums -p yaz-ssl
        dh_gencontrol -p yaz-ssl
+       dh_md5sums -p yaz-ssl
 endif
        # Go kill those CVS-dirs before build
        -find debian/tmp -type d -name CVS | xargs rm -rf