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.
10
# If set to a true value then MakeMaker's prompt function will
11
# always return the default without waiting for user input.
12
export PERL_MM_USE_DEFAULT=1
14
PACKAGE=$(shell dh_listpackages)
23
TMP =`pwd`/debian/$(PACKAGE)
30
# Add here commands to compile the package.
31
APACHE=/usr/sbin/apache $(PERL) Makefile.PL INSTALLDIRS=vendor
32
$(MAKE) OPTIMIZE="-O2 -g -Wall"
41
# Add here commands to clean up after the build process.
52
# Add here commands to install the package into debian/tmp.
53
#$(MAKE) install DESTDIR=`pwd`/debian/tmp
54
$(MAKE) install PREFIX=$(TMP)/usr
57
# Build architecture-dependent files here.
58
binary-arch: build install
59
# We have nothing to do by default.
61
# Build architecture-independent files here.
62
binary-indep: build install
72
dh_installchangelogs Changes
83
dh_builddeb --destdir=$(DESTDIR)
86
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
88
binary: binary-indep binary-arch
89
.PHONY: build clean binary-indep binary-arch binary