File: rules

package info (click to toggle)
kdeconnect 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,180 kB
  • ctags: 1,301
  • sloc: cpp: 9,597; xml: 203; sh: 29; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 596 bytes parent folder | download
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 -*-

# hardening options stuff
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# workaround for hardening on cmake
export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed

%:
	dh $@ --with=kf5,pkgkde-symbolshelper --parallel

override_dh_auto_install:
	dh_auto_install

override_dh_auto_test:
	# Disable dh_auto_test at build time
	: