2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 to 1999 by Joey Hess.
5
# Uncomment this to turn on verbose mode.
8
# Define the perl interpreter
10
PACKAGE = $(shell dh_listpackages)
12
TMP =`pwd`/debian/$(PACKAGE)
16
configure: configure-stamp
19
# Add here commands to configure the package.
21
perl Makefile.PL verbose INSTALLDIRS=vendor
26
build-stamp: configure-stamp
29
# Add here commands to compile the package.
38
rm -f build-stamp configure-stamp
40
# Add here commands to clean up after the build process.
51
# Add here commands to install the package into debian/tmp
52
$(MAKE) install PREFIX=$(TMP)/usr
54
# Remove any empty directories
56
-find $(TMP) -type d -empty -print0 | xargs --null rmdir -p --ignore-fail-on-non-empty
58
# Build architecture-independent files here.
59
binary-arch: build install
60
# We have nothing to do by default.
62
# Build architecture-dependent files here.
63
binary-indep: build install
69
dh_installchangelogs Changes
77
binary: binary-indep binary-arch
78
.PHONY: build clean binary-indep binary-arch binary install configure