File: rules

package info (click to toggle)
bismuth 3.1.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,704 kB
  • sloc: cpp: 5,774; sh: 165; makefile: 32; xml: 10
file content (17 lines) | stat: -rwxr-xr-x 445 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/architecture.mk

# disable even building the tests when cross-compiling: during build
# a test program is run to discover the test suites
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
  CMAKE_ARGS += -DBUILD_TESTING=OFF
endif

%:
	dh $@ --with kf5

override_dh_auto_configure:
	dh_auto_configure -Skf5 -- -DUSE_TSC=OFF -DUSE_NPM=OFF $(CMAKE_ARGS)