3
# Sample debian/rules that uses debhelper.
5
# This file was originally written by Joey Hess and Craig Small.
6
# As a special exception, when this file is copied by dh-make into a
7
# dh-make output file, you may use that output file without restriction.
8
# This special exception was added by Craig Small in version 0.37 of dh-make.
10
# Modified to make a template file for a multi-binary package with separated
11
# build-arch and build-indep targets by Bill Allombert 2001
13
# Uncomment this to turn on verbose mode.
16
# This has to be exported to make some magic below work.
24
configure: configure-stamp
27
# Add here commands to configure the package.
33
build: build-arch build-indep
35
build-arch: build-arch-stamp
36
build-arch-stamp: configure-stamp
38
# Add here commands to compile the arch part of the package.
42
build-indep: build-indep-stamp
43
build-indep-stamp: configure-stamp
45
# Add here commands to compile the indep part of the package.
52
rm -f build-arch-stamp build-indep-stamp configure-stamp
54
# Add here commands to clean up after the build process.
59
install: install-indep install-arch
66
# Add here commands to install the indep part of the package into
67
# debian/<package>-doc.
69
$(MAKE) prefix=$(CURDIR)/debian/gnome-gmail install
79
# Add here commands to install the arch part of the package into
83
# Must not depend on anything. This is to be called by
84
# binary-arch/binary-indep
85
# in another 'make' thread.
114
# Build architecture independant packages using the common target.
115
binary-indep: build-indep install-indep
116
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
118
# Build architecture dependant packages using the common target.
119
binary-arch: build-arch install-arch
120
$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
122
binary: binary-arch binary-indep
123
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure