2
# Uncomment this to turn on verbose mode.
5
DESTDIR = $(CURDIR)/debian/tmp/usr/
7
# These are used for cross-compiling and for saving the configure script
8
# from having to guess our platform (since we know it already)
9
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
10
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
12
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
15
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
22
rm -f install-stamp build-stamp
26
build-arch: build-stamp
27
build-indep: build-stamp
29
build: build-arch build-indep
36
install: install-stamp
41
$(MAKE) install DESTDIR=$(DESTDIR)
44
binary-indep: build install
46
binary-arch: build install
50
dh_installchangelogs -a
62
binary: binary-indep binary-arch
63
.PHONY: clean build binary-indep binary-arch binary install