File: rules

package info (click to toggle)
libsfml 3.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 13,704 kB
  • sloc: cpp: 52,754; ansic: 24,944; objc: 668; sh: 172; xml: 25; makefile: 18
file content (25 lines) | stat: -rwxr-xr-x 580 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
24
25
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DBUILD_SHARED_LIBS=ON \
		-DSFML_BUILD_DOC=$(if $(findstring libsfml-doc,$(shell dh_listpackages)),ON,OFF) \
		-DSFML_BUILD_EXAMPLES=ON \
		-DSFML_BUILD_TEST_SUITE=ON \
		-DSFML_RUN_AUDIO_DEVICE_TESTS=OFF \
		-DSFML_RUN_DISPLAY_TESTS=OFF

execute_after_dh_auto_build-indep:
	dh_auto_build -- doc

override_dh_auto_test-indep:

override_dh_installexamples:
	dh_installexamples -X.gitignore -Xandroid

override_dh_compress:
	dh_compress -XSFML.tag