| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto |
| 4 |
|
| 5 |
BUILDDIR = $(CURDIR)/debian/build |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --builddirectory=$(BUILDDIR) |
| 9 |
|
| 10 |
override_dh_auto_configure: |
| 11 |
dh_auto_configure -- -DHEAPTRACK_BUILD_PRINT=ON -DHEAPTRACK_BUILD_GUI=ON |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) |
| 19 |
ifneq (mips, $(DEB_BUILD_ARCH)) |
| 20 |
override_dh_auto_install: |
| 21 |
dh_auto_install |
| 22 |
cd $(BUILDDIR) ; $(MAKE) test ARGS=-VV |
| 23 |
endif |
| 24 |
endif |
| 25 |
|
| 26 |
override_dh_auto_test: |