File: rules

package info (click to toggle)
cpputest 3.8-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,148 kB
  • sloc: cpp: 25,675; sh: 4,726; ansic: 1,113; makefile: 734; ruby: 676; xml: 8; sed: 1
file content (31 lines) | stat: -rwxr-xr-x 697 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
26
27
28
29
30
31
#!/usr/bin/make -f

%:
	dh $@

# The build target must not be empty because it's also a real directory
# (see #888598).
.PHONY: build
build:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	$(MAKE) tdd
endif

override_dh_compress:
	dh_compress -X.cpp

override_dh_missing:
	dh_missing --fail-missing

# Fixes for the cpputest (arch-all) package
override_dh_installexamples-indep:
	dh_installexamples
	chmod 644 debian/cpputest/usr/share/doc/cpputest/examples/*.dsw

override_dh_fixperms-indep:
	chmod 755 debian/cpputest/usr/share/cpputest/scripts/NewProject.sh \
		  debian/cpputest/usr/share/cpputest/scripts/convertToUnity/create_unity_test_runner.rb
	dh_fixperms