File: rules

package info (click to toggle)
crunch-dxtc 0.55.5-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,624 kB
  • sloc: cpp: 64,979; ansic: 633; python: 321; makefile: 116
file content (15 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_EXAMPLES=ON

override_dh_auto_test:
	CRUNCH_BUILD_DIR=./$(wildcard obj-*) ./test/test.py || true

execute_after_dh_auto_install:
	mv debian/crunch-dxtc/usr/bin/crunch debian/crunch-dxtc/usr/bin/crunch-dxtc