File: rules

package info (click to toggle)
fxdiv 0.0~git20200417.b408327-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 164 kB
  • sloc: cpp: 431; ansic: 374; python: 19; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 441 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
%:
	dh $@ -Scmake

override_dh_auto_configure:
	dh_auto_configure -- -DFXDIV_BUILD_TESTS=ON -DFXDIV_BUILD_BENCHMARKS=ON -DGOOGLETEST_SOURCE_DIR=/usr/src/googletest

execute_after_dh_auto_test:
	find . -type f -executable -name '*bench' -exec '{}' \;

execute_after_dh_auto_install:
	-$(RM) -rf debian/libfxdiv-dev/usr/lib
	-$(RM) -rf debian/libfxdiv-dev/usr/include/gmock
	-$(RM) -rf debian/libfxdiv-dev/usr/include/gtest