3
# Sample debian/rules that uses debhelper.
4
# GNU copyright 1997 to 1999 by Joey Hess.
6
# These are used for cross-compiling and for saving the configure script
7
# from having to guess our platform (since we know it already)
8
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
9
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
13
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
18
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
23
config.status: configure
25
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
28
build-stamp: config.status
5
./configure --prefix=/usr --mandir=/usr/share/man
11
$(MAKE) DESTDIR=$(PWD)/debian/gnomad2 install
38
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
39
cp -f /usr/share/misc/config.sub config.sub
41
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
42
cp -f /usr/share/misc/config.guess config.guess
51
$(MAKE) install DESTDIR=$(CURDIR)/debian/gnomad2
54
# Build architecture-independent files.
55
binary-indep: build install
56
# We have nothing to do.
58
# Build architecture-dependent files.
59
binary-arch: build install
62
dh_installchangelogs ChangeLog
21
dh_installchangelogs -a ChangeLog
76
34
binary: binary-indep binary-arch
77
.PHONY: build clean binary-indep binary-arch binary install
36
.PHONY: build install clean binary-indep binary-arch binary