NEWS instead of CHANGELOG. Revert lines in NEWS
[ir-tcl-moved-to-github.git] / debian / rules
index c13a676..43b2a53 100755 (executable)
@@ -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
@@ -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
 
@@ -116,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