X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=debian%2Frules;h=90573eba58b827b5326df62c28de87e083fbd386;hb=141269ce5f566fcd7ed188ebe9bb878bf4b32018;hp=32d80d2a92947b5373dc48072fab5fd57ca10b83;hpb=08ad39c1859f230c41588ee8b0961a35e4769ead;p=yaz-moved-to-github.git diff --git a/debian/rules b/debian/rules index 32d80d2..90573eb 100755 --- a/debian/rules +++ b/debian/rules @@ -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 @@ -85,7 +84,7 @@ stamp-install: stamp-build binary-indep: build install dh_testdir dh_testroot - dh_installdocs -p yaz-doc doc/ + dh_installdocs -p yaz-doc doc/*.html doc/*.pdf dh_installchangelogs -p yaz-doc dh_link -p yaz-doc dh_strip -p yaz-doc @@ -119,7 +118,8 @@ endif dh_installdeb -p yaz-runtime dh_installdeb -p yaz-devel - dh_undocumented -p yaz-runtime yaz-client.1 yaz-comp.1 yaz-config.1 yaz-ztest.1 zoomsh.1 + dh_installman -p yaz-runtime doc/yaz-client.1 doc/yaz-ztest.8 doc/yaz-config.1 doc/yaz.7 doc/zoomsh.1 + dh_undocumented -p yaz-runtime yaz-comp.1 echo "libyaz 1 yaz-runtime" > debian/yaz-runtime/DEBIAN/shlibs echo "libyazthread 1 yaz-runtime" >> debian/yaz-runtime/DEBIAN/shlibs echo "libyazmalloc 1 yaz-runtime" >> debian/yaz-runtime/DEBIAN/shlibs @@ -127,13 +127,12 @@ endif dh_shlibdeps -p yaz-runtime $(LOCAL_LINK) ifeq ($(YAZ_WITH_SSL),1) dh_installdeb -p yaz-ssl - dh_undocumented -p yaz-ssl yaz-client-ssl.1 yaz-ztest-ssl.1 + dh_installman -p yaz-ssl doc/yaz-client-ssl.1 doc/yaz-ztest-ssl.8 echo "libyazssl 1 yaz-ssl" >> debian/yaz-ssl/DEBIAN/shlibs chmod 644 debian/yaz-ssl/DEBIAN/shlibs 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_gencontrol -p yaz-runtime