3
# debian/rules for perlftlib
7
package := $(firstword $(shell dh_listpackages))
8
prefix := $(PWD)/debian/$(package)/usr
10
version := $(shell dpkg-parsechangelog | \
11
sed -ne 's/^Version: *\([0-9]\+:\)*//p')
14
cvs tag -c -F $(subst .,_,debian_version_$(version))
15
ifeq ($(findstring -,$(version)),)
16
cvs tag -c -F $(subst .,_,upstream_version_$(version))
22
./html2ps -o html2ps.ps html2ps.html
23
cp -a contrib/xhtml2ps/README README.xhtml2ps
28
rm -f html2ps.ps README.xhtml2ps
31
binary-arch: checkroot build
33
binary-indep: checkroot build
35
dh_installdirs /etc usr/bin
37
install -m 755 html2ps contrib/xhtml2ps/xhtml2ps $(prefix)/bin
38
install -m 644 -p debian/html2psrc $(prefix)/../etc
40
dh_installdocs html2ps.ps html2ps.html README README.xhtml2ps
41
dh_installexamples debian/html2psrc sample hyphen.tex
42
dh_installman *.[15] debian/*.1x
3
# Uncomment this to turn on verbose mode.
21
install -D -m 0755 html2ps debian/html2ps/usr/bin/html2ps
22
install -D -m 0644 debian/config/html2psrc debian/html2ps/etc/html2psrc
24
install -D -m 0755 contrib/xhtml2ps/xhtml2ps debian/xhtml2ps/usr/bin/xhtml2ps
26
binary-arch: build install
28
binary-indep: build install
43
31
dh_installchangelogs