File: rules

package info (click to toggle)
goldendict 1.5.0~rc2%2Bgit20200409%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 16,980 kB
  • sloc: cpp: 59,494; ansic: 11,482; xml: 526; makefile: 77; sh: 42
file content (24 lines) | stat: -rwxr-xr-x 530 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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export QT_SELECT := 5

%:
	dh $@ --buildsystem=qmake

override_dh_auto_configure:
	dh_auto_configure -- \
	        CONFIG+=chinese_conversion_support \
	        CONFIG+=zim_support \
		goldendict.pro

override_dh_install:
	pod2man debian/goldendict.pod debian/goldendict.1
	dh_install --

override_dh_missing:
	dh_missing --fail-missing