X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=debian%2Frules;h=43b2a53eb99f19aef7996b0f4d279d13de76a2ac;hb=a1ac2b7a40898eaf094178dee7bfcc93e9a3e049;hp=8e33304a3f45fb0a8c58cc329bb96d259757c518;hpb=2d42edd809ab188892914d042ab1e9b27a89d1b1;p=ir-tcl-moved-to-github.git diff --git a/debian/rules b/debian/rules index 8e33304..43b2a53 100755 --- a/debian/rules +++ b/debian/rules @@ -20,11 +20,7 @@ else MCFLAGS= endif -IRTCL_VERSION=1.4 IRTCLDIR?=$(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 IRTCL_VERSION # Local library path for linking with right dependencies LOCAL_LINK=-ldebian/ir-tcl/usr/lib @@ -75,7 +71,7 @@ stamp-install: stamp-build binary-indep: build install dh_testdir dh_testroot - dh_installdocs -p ir-tcl-doc doc/ + dh_installdocs -p ir-tcl-doc doc/*.html doc/*.txt doc/*.ps dh_installchangelogs -p ir-tcl-doc dh_link -p ir-tcl-doc dh_strip -p ir-tcl-doc @@ -90,9 +86,9 @@ binary-indep: build install binary-arch: build install dh_testdir dh_testroot - dh_movefiles -p ir-tcl usr/lib/ir-tcl usr/bin + dh_movefiles -p ir-tcl usr/lib/irtcl usr/bin - cp CHANGELOG changelog + cp NEWS changelog cp LICENSE debian/copyright dh_installdocs --all README changelog debian/copyright @@ -102,8 +98,12 @@ binary-arch: build install dh_compress -a dh_fixperms -a - dh_installdeb -p irtcl - # dh_undocumented -p ir-tcl.1 + dh_installdeb -p ir-tcl + for i in doc/*.n; do \ + m=`echo $$i|sed 's/\.n/.3tcl/g'`; \ + cp $$i $$m; \ + done + dh_installman -p ir-tcl doc/*.3tcl dh_shlibdeps -p ir-tcl dh_gencontrol -p ir-tcl @@ -112,8 +112,7 @@ binary-arch: build install # Go kill those CVS-dirs before build -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/lib debian/tmp/usr/bin \ - debian/tmp/usr/lib/ir-tcl + -rm -rf debian/tmp/usr/include debian/tmp/usr/lib debian/tmp/usr/bin dh_builddeb -p ir-tcl