File: rules

package info (click to toggle)
lomiri-indicator-network 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,156 kB
  • sloc: cpp: 23,705; xml: 2,868; python: 652; ansic: 224; sh: 54; makefile: 21
file content (38 lines) | stat: -rwxr-xr-x 849 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

NULL =

include /usr/share/dpkg/default.mk

#export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/buildflags.mk

ENABLE_TESTS = ON
ifneq (,$(filter $(DEB_HOST_ARCH),arm64 s390x powerpc ppc64el))
        ENABLE_TESTS = OFF
endif

%:
	dh $@

override_dh_install:
	# drop upstart files
	rm -Rfv debian/tmp/usr/share/upstart/
	# empty directory
	rmdir debian/tmp/usr/share/doc/lomiri-indicator-network/qml/html/images/
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_TESTS=${ENABLE_TESTS} \
	                     $(NULL)

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..