| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
export LOMIRI_PUSH_TEST_RESOURCES_ROOT := $(CURDIR) |
| 5 |
export GODEBUG := cgocheck=0 |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --builddirectory=_build |
| 9 |
|
| 10 |
override_dh_auto_build: |
| 11 |
dh_auto_build |
| 12 |
# The autopkgtest fails if this command is run in dh_auto_configure instead |
| 13 |
cp -rp exec-tool/ _build/ |
| 14 |
dh_auto_build --buildsystem=makefile --builddirectory=_build/exec-tool |
| 15 |
|
| 16 |
# In Salsa CI, --no-parallel seems to help the i386 build succeed |
| 17 |
override_dh_auto_test: |
| 18 |
dh_auto_test --no-parallel |
| 19 |
dh_auto_test --no-parallel --buildsystem=makefile --builddirectory=_build/exec-tool |
| 20 |
|
| 21 |
override_dh_auto_install: |
| 22 |
dh_auto_install |
| 23 |
dh_auto_install --buildsystem=makefile --builddirectory=_build/exec-tool |
| 24 |
|
| 25 |
get-orig-source: |
| 26 |
uscan --noconf --force-download --rename --download-current-version --destdir=.. |