X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=debian%2Frules;h=5a8ae971916ac40b5710d4f31583d444fb03040d;hb=238730873cdf47ff4945ce1635870b10601c9aa3;hp=dab6e80ba9ff2cf7aa7db6668d1e71349906d9a3;hpb=baf16023e5e3c68e4a7c7acd3a23326400cd04bf;p=idzebra-moved-to-github.git diff --git a/debian/rules b/debian/rules index dab6e80..5a8ae97 100755 --- a/debian/rules +++ b/debian/rules @@ -20,7 +20,7 @@ else MCFLAGS= endif -ZEBRA_VERSION=1.3.2 +ZEBRA_VERSION=1.3.3 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 @@ -91,9 +90,8 @@ binary-indep: build install binary-arch: build install dh_testdir dh_testroot - dh_movefiles -p idzebra usr/share/zebra usr/bin + dh_movefiles -p idzebra usr/share/idzebra usr/bin - cp LICENSE.zebra debian/copyright cp CHANGELOG changelog dh_installdocs --all README TODO changelog debian/copyright @@ -107,7 +105,6 @@ binary-arch: build install dh_undocumented -p idzebra zebraidx.1 zebrasrv.1 dh_shlibdeps -p idzebra $(LOCAL_LINK) - # Ugh Ugly hack cat debian/postinst >> debian/idzebra/DEBIAN/postinst dh_gencontrol -p idzebra @@ -117,11 +114,10 @@ binary-arch: build install -find debian/tmp -type d -name CVS | xargs rm -rf # For some reason it is necessary to remove empty-dirs in doc -rm -rf debian/tmp/usr/include debian/tmp/usr/share/aclocal debian/tmp/usr/lib debian/tmp/usr/bin \ - debian/tmp/usr/share/zebra + debian/tmp/usr/share/idzebra dh_builddeb -p idzebra - binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install install-stamp configure