File: rules

package info (click to toggle)
qstardict 1.3-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,792 kB
  • sloc: cpp: 9,590; sh: 10; makefile: 9
file content (20 lines) | stat: -rwxr-xr-x 555 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 -*-
# 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 DEB_LDFLAGS_MAINT_APPEND =
export QT_SELECT := 5

include /usr/share/dpkg/architecture.mk

%:
	dh $@ --buildsystem=qmake

execute_after_dh_auto_install:
	# upstream ships ChangeLog and COPYING,
	# let's remove them to make lintian happy
	rm -f debian/qstardict/usr/share/doc/qstardict/ChangeLog \
	        debian/qstardict/usr/share/doc/qstardict/COPYING