3
# Sample debian/rules that uses debhelper.
4
# GNU copyright 1997 to 1999 by Joey Hess.
6
# Uncomment this to turn on verbose mode.
13
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
18
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
23
config.status: config-stamp
26
# Add here commands to configure the package.
27
CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
31
build-stamp: config.status
34
# Add here commands to compile the package.
44
# Add here commands to clean up after the build process.
46
rm -f config-stamp build-stamp
54
# Add here commands to install the package into debian/tmp
55
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
56
$(INSTALL) -m 644 debian/libatomic-ops.3 \
57
debian/libatomic-ops-dev/usr/share/man/man3
61
# Build architecture-independent files here.
62
binary-indep: build install
63
# We have nothing to do by default.
65
# Build architecture-dependent files here.
66
binary-arch: build install
70
dh_installchangelogs ChangeLog
86
binary: binary-indep binary-arch
87
.PHONY: build clean binary-indep binary-arch binary install
3
#nasty, but our patches touch parts of the build system.
4
DEB_AUTO_UPDATE_AUTOMAKE = 1.9
5
DEB_AUTO_UPDATE_ACLOCAL = $(DEB_AUTO_UPDATE_AUTOMAKE)
6
DEB_AUTO_UPDATE_AUTOCONF = 2.50
8
include /usr/share/cdbs/1/rules/debhelper.mk
9
include /usr/share/cdbs/1/class/autotools.mk
10
include /usr/share/cdbs/1/rules/simple-patchsys.mk
13
DEB_MAKE_CHECK_TARGET := check