File: rules

package info (click to toggle)
ktexteditor 5.115.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 40,140 kB
  • sloc: cpp: 88,687; javascript: 19,753; xml: 237; sh: 20; ansic: 16; makefile: 8
file content (20 lines) | stat: -rwxr-xr-x 577 bytes parent folder | download | duplicates (3)
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 -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto

DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_QCH=ON
	# ktexteditor embeds underscore.js in the generated lib
	# (through a qt resource)
	-ln -sf /usr/share/javascript/underscore/underscore.js src/script/data/libraries/underscore.js

override_dh_auto_test:
#ifeq (,$(filter $(DEB_HOST_ARCH), armhf))
#	- xvfb-run -a --server-args="-screen 0 1024x768x24+32" dh_auto_test --no-parallel
#endif