File: rules

package info (click to toggle)
ezquake 3.6.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,956 kB
  • sloc: ansic: 180,729; sh: 324; objc: 139; tcl: 107; xml: 64; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 483 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

export DH_VERBOSE=1

export DEB_BUILD_DATE="$(shell dpkg-parsechangelog --show-field=date)"

export DEB_CFLAGS_MAINT_APPEND=$(shell dpkg-buildflags --get CPPFLAGS) -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-format-truncation -Wno-unused-result -Wno-unused-function -DBUILD_DATE=\"$(DEB_BUILD_DATE)\"

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_install:
	mv obj-*/ezquake-* ezquake
	rm -rf obj-*
	dh_auto_install