2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 to 1999 by Joey Hess.
5
# Uncomment this to turn on verbose mode.
10
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
15
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
19
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
20
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
22
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
23
confflags += --build $(DEB_HOST_GNU_TYPE)
25
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
28
config.status: configure
29
./configure $(confflags) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
32
build-stamp: config.status
34
CFLAGS="$(CFLAGS)" $(MAKE)
40
ifeq (Makefile,$(wildcard Makefile))
51
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
61
dh_install --autodest --sourcedir=debian/tmp
62
dh_strip --dbg-package=dvdbackup-dbg
72
binary: binary-indep binary-arch
73
.PHONY: build clean binary-arch binary install
3
include /usr/share/cdbs/1/rules/debhelper.mk
4
include /usr/share/cdbs/1/class/autotools.mk