File: rules

package info (click to toggle)
libuecc 7-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 248 kB
  • ctags: 76
  • sloc: ansic: 825; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 407 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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)

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ 

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_BUILD_TYPE=RELEASE -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH)

override_dh_clean:
	dh_clean
	rm -rf obj*