3
# Made with the aid of dh_make, by Craig Small
4
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
5
# Some lines taken from debmake, by Christoph Lameter.
7
# Uncomment this to turn on verbose mode.
11
PACKAGE=$(shell dh_listpackages)
20
TMP =`pwd`/debian/$(PACKAGE)
27
# Add here commands to compile the package.
28
$(PERL) Makefile.PL INSTALLDIRS=vendor
29
$(MAKE) OPTIMIZE="-O2 -g -Wall"
38
# Add here commands to clean up after the build process.
49
# Add here commands to install the package into debian/tmp.
50
#$(MAKE) install DESTDIR=`pwd`/debian/tmp
51
$(MAKE) install PREFIX=$(TMP)/usr
54
# Build architecture-independent files here.
55
binary-indep: build install
56
# We have nothing to do by default.
58
# Build architecture-dependent files here.
59
binary-arch: build install
71
dh_installchangelogs Changes
82
dh_builddeb --destdir=$(DESTDIR)
85
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
87
binary: binary-indep binary-arch
88
.PHONY: build clean binary-indep binary-arch binary