File: rules

package info (click to toggle)
ax25mail-utils 0.13-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 884 kB
  • sloc: ansic: 2,909; sh: 1,058; cpp: 386; perl: 105; makefile: 44
file content (18 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)


CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

override_dh_auto_configure:
	echo ============= override_dh_auto_configure ==========
	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" dh_auto_configure -- --without-bfd --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

%:
	dh $@ --with autotools-dev