File: rules

package info (click to toggle)
basic256 1.1.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 24,456 kB
  • sloc: cpp: 10,148; yacc: 3,023; java: 1,091; lex: 1,051; sh: 117; xml: 33; makefile: 15
file content (16 lines) | stat: -rwxr-xr-x 417 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export QT_SELECT=qt5

%:
	dh $@ --buildsystem=qmake

override_dh_auto_clean:
	if [ -f $(CURDIR)/Makefile ]; then \
	    sed -i -e 's/\/usr\/lib\/x86_64-linux-gnu\/qt5\/bin\/qmake/\/usr\/bin\/qmake/' $(CURDIR)/Makefile; \
	fi
	dh_auto_clean

override_dh_auto_configure:
	dh_auto_configure -- BASIC256.pro