File: rules

package info (click to toggle)
libretro-mupen64plus 2.0%2Bgit20160207%2Bdfsg2-1
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 10,872 kB
  • ctags: 32,434
  • sloc: ansic: 126,897; cpp: 62,050; asm: 2,358; python: 778; perl: 393; makefile: 371; sh: 191
file content (23 lines) | stat: -rwxr-xr-x 497 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
#!/usr/bin/make -f

# Fix hardening-no-bindnow
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

export DEB_CXXFLAGS_MAINT_STRIP=-O2
export DEB_CFLAGS_MAINT_STRIP=-O2

ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)

ifeq ($(ARCH),armhf)
	PLATFORM=platform="armv gles neon hardfloat"
endif

%:
	dh $@ --parallel

override_dh_auto_build:
	dh_auto_build -- $(PLATFORM)

override_dh_installdocs:
	dh_installdocs
	cd debian/libretro-*/usr/share/doc/libretro-mupen64plus/ && mv COPYING cxd4-license