File: rules

package info (click to toggle)
libcsfml 2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,536 kB
  • ctags: 1,593
  • sloc: cpp: 5,134; ansic: 1,968; sh: 16; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 487 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
# -*- makefile -*-

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) -DCSFML_BUILD_DOC=ON \
		-DCMAKE_MODULE_PATH=/usr/share/SFML/cmake/Modules

override_dh_auto_build:
	dh_auto_build -- all doc

override_dh_strip:
	# Can be removed for 2.4
	dh_strip --dbgsym-migration='libcsfml2.3-dbg (<< 2.3-3~)'