File: rules

package info (click to toggle)
ezquake 3.6.1-1.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 10,152 kB
  • sloc: ansic: 175,308; sh: 234; tcl: 107; xml: 64; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 603 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

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-function -DBUILD_DATE=\"$(DEB_BUILD_DATE)\"

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_install-arch:
	cp obj-$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)/ezquake ezquake
	dh_auto_install

override_dh_clean:
	rm -rf opengl minizip vstudio-libs mingw32-libs misc/vstudio misc/install
	dh_clean