| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
# Uncomment this to turn on verbose mode. |
| 4 |
# export DH_VERBOSE=1 |
| 5 |
|
| 6 |
# see FEATURE AREAS in dpkg-buildflags(1) |
| 7 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 |
|
| 9 |
# see ENVIRONMENT in dpkg-buildflags(1) |
| 10 |
# package maintainers to append CFLAGS |
| 11 |
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 12 |
# package maintainers to append LDFLAGS |
| 13 |
export DEB_LDFLAGS_MAINT_APPEND = |
| 14 |
|
| 15 |
|
| 16 |
%: |
| 17 |
dh $@ --no-parallel |
| 18 |
|
| 19 |
override_dh_autoreconf: |
| 20 |
dh_autoreconf autoreconf-dickey -- -f -i |
| 21 |
|
| 22 |
override_dh_auto_install: |
| 23 |
dh_auto_install -- BINDIR=$(CURDIR)/debian/mawk/usr/bin \ |
| 24 |
MANDIR=$(CURDIR)/debian/mawk/usr/share/man |
| 25 |
|
| 26 |
override_dh_auto_build: |
| 27 |
dh_auto_build -- mawk |
| 28 |
|
| 29 |
override_dh_auto_test: |
| 30 |
ifeq (,$(filter $(DEB_BUILD_OPTIONS),nocheck)) |
| 31 |
$(MAKE) mawk_test fpe_test |
| 32 |
endif |