3
# debian/rules file for perl-tk
9
package := $(shell sed -ne 's/^Package: *//p' debian/control)
10
prefix := $(PWD)/debian/$(package)/usr
12
version := $(shell dpkg-parsechangelog | \
13
sed -ne 's/^Version: *\([0-9]\+:\)*//p')
16
cvs -Q status | grep File: | grep -qv Up-to-date && exit 1 || exit 0
17
cvs tag -F $(subst .,_,debian_version_$(version))
18
ifeq ($(findstring -,$(version)),)
19
cvs tag -F $(subst .,_,upstream_version_$(version))
25
$(PERL) Makefile.PL INSTALLDIRS=vendor PERL=$(PERL)
34
binary-indep: checkroot build
36
binary-arch: checkroot build
40
$(MAKE) pure_install PREFIX=$(prefix)
42
dh_installdocs README* VERSIONS
44
dh_installchangelogs Changes
57
binary: binary-indep binary-arch
63
.PHONY: binary binary-indep binary-arch clean checkroot build