File: rules

package info (click to toggle)
powerdebug 0.7.0-2013.08-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 200 kB
  • ctags: 287
  • sloc: ansic: 1,945; makefile: 27
file content (17 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

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

export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
	CC := $(DEB_HOST_GNU_TYPE)-gcc
endif

%:
	dh $@ --parallel

override_dh_auto_build:
	$(MAKE) CC=$(CC)