X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=debian%2Frules;h=54a2bc2ad079e6dc4bb930340799a0a0635d3891;hb=1e869b75dd665a3ac79648269e1416bf7e04dcdd;hp=a2026107271526fa757a7e79c5d8131618da548f;hpb=579c5c2ee7d0d8aa67af7092e46158187cc27b99;p=idzebra-moved-to-github.git diff --git a/debian/rules b/debian/rules index a202610..54a2bc2 100755 --- a/debian/rules +++ b/debian/rules @@ -20,11 +20,7 @@ else MCFLAGS= endif -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") -export ZEBRA_VERSION # Local library path for linking with right dependencies LOCAL_LINK=-ldebian/idzebra/usr/lib @@ -75,7 +71,7 @@ stamp-install: stamp-build binary-indep: build install dh_testdir dh_testroot - dh_installdocs -p idzebra-doc doc/*.html doc/*.pdf + dh_installdocs -p idzebra-doc doc/*.html doc/*.pdf doc/*.png dh_installchangelogs -p idzebra-doc dh_link -p idzebra-doc dh_strip -p idzebra-doc @@ -97,15 +93,18 @@ binary-arch: build install dh_installchangelogs dh_link + + dh_installdeb -p idzebra + dh_installman -p idzebra doc/zebraidx.1 doc/zebrasrv.8 + dh_strip dh_compress -a dh_fixperms -a - dh_installdeb -p idzebra - dh_installman -p idzebra doc/zebraidx.1 doc/zebrasrv.8 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