File: rules

package info (click to toggle)
qtox 1.16.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 24,048 kB
  • sloc: cpp: 35,612; xml: 10,669; sh: 2,108; ansic: 1,520; objc: 208; perl: 28; makefile: 13
file content (25 lines) | stat: -rwxr-xr-x 572 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
25
#!/usr/bin/make -f
#export DH_VERBOSE = 1


export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CXXFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894476
export QT_RCC_SOURCE_DATE_OVERRIDE = 1

include /usr/share/dpkg/pkg-info.mk


%:
	dh $@

override_dh_auto_configure:
	# They made ccache invoke itself recursively
	dh_auto_configure -- \
		-DUSE_CCACHE=OFF \
		-DGIT_DESCRIBE='v$(DEB_VERSION)-debian' \
		-DGIT_VERSION='build without git' \
		-DTIMESTAMP='(disabled)'