File: rules

package info (click to toggle)
zug 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,076 kB
  • sloc: cpp: 6,209; makefile: 203; sh: 88; python: 62
file content (16 lines) | stat: -rwxr-xr-x 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure --buildsystem=cmake -- \
	  -DDISABLE_WERROR=ON \
	  -Dzug_BUILD_TESTS=OFF \
	  -Dzug_BUILD_EXAMPLES=OFF \
	  -Dzug_BUILD_DOCS=OFF

ifeq (disabledfornow,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
execute_after_dh_auto_build:
	dh_auto_build -- tests
endif