X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=debian%2Frules;h=0d2e6f1d0077bdd2a2bde25e40c9de687ac365dc;hb=4f35e16275f20aa6d9c6b023f9f4ef4dce21afed;hp=9b7f68ef57358b66263c1be102450a9a14c5a29d;hpb=4b3707d52e5d6fbf0e6353086d4c42e67d92319d;p=idzebra-moved-to-github.git diff --git a/debian/rules b/debian/rules index 9b7f68e..0d2e6f1 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ # This is the debhelper compatability version to use. export DH_COMPAT=2 -CONFIG_FLAGS=--with-tclconfig=/usr/lib/tcl8.3 --with-yazconfig=/usr/bin --prefix=/usr +CONFIG_FLAGS=--with-tclconfig=/usr/lib/tcl8.3 --with-yaz=/usr/bin --prefix=/usr # Enable parallel builds if CONCURRENCY_LEVEL is set ifdef CONCURRENCY_LEVEL @@ -88,20 +88,23 @@ binary-arch: build install dh_testroot dh_movefiles -p idzebra usr/share/idzebra usr/bin - cp CHANGELOG changelog + cp NEWS changelog dh_installdocs --all README TODO changelog debian/copyright 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