3
# This has to be exported to make some magic below work.
6
# Uncomment this to turn on verbose mode.
9
# Set the host and build architectures for use with config.cache loading,
10
# cross-building, etc.
11
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
12
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
13
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
15
export DEB_HOST_GNU_TYPE
16
export DEB_BUILD_GNU_TYPE
17
export DEB_HOST_ARCH_OS
18
pyversio := $(shell pyversions -vd)
20
#include /usr/share/quilt/quilt.make
22
DESTDIR=`pwd`/debian/tmp
27
configure: configure-stamp
35
build-stamp: configure-stamp
43
rm -f build-stamp configure-stamp
51
# dh_installdirs -P $(DESTDIR)
54
## rsync files from install prefix to $(DESTDIR)/
55
rsync -a ../populate/ $(DESTDIR)/
57
dh_install --sourcedir=$(DESTDIR)
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
91
# dh_shlibdeps -ldebian/likewise-open/usr/lib/likewise-open
96
binary: binary-indep binary-arch
97
.PHONY: build clean binary-indep binary-arch binary install configure