File: rules

package info (click to toggle)
scrm 1.7.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,936 kB
  • sloc: cpp: 7,965; sh: 3,190; python: 897; ansic: 234; makefile: 72
file content (22 lines) | stat: -rwxr-xr-x 421 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
#!/usr/bin/make -f

export DH_VERBOSE = 1

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifeq ($(DEB_HOST_ARCH),i386)
export DEB_CXXFLAGS_MAINT_APPEND = -ffloat-store
endif

%:
	dh $@

override_dh_install:
	find tests \( -name "*.o" -o -name .dirstamp \) -delete
	find tests -name .deps -type d | xargs rm -rf
	dh_install

override_dh_compress:
	dh_compress --exclude=run-unit-test