File: rules

package info (click to toggle)
tea 50.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,324 kB
  • sloc: cpp: 17,581; ansic: 3,690; xml: 339; makefile: 9
file content (17 lines) | stat: -rwxr-xr-x 474 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# Use Qt5
export QT_SELECT=qt5
# Reduce unneeded linked libraries
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# Use all hardening options
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	LC_ALL=C.UTF-8 dh $@ --buildsystem=qmake

override_dh_auto_configure:
	LC_ALL=C.UTF-8 dh_auto_configure -O--buildsystem=qmake -- CONFIG+=usepoppler CONFIG+=usedjvu

override_dh_auto_install:
	LC_ALL=C.UTF-8 $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tea install