File: rules

package info (click to toggle)
epr-api 2.3~dev20150708-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,120 kB
  • ctags: 2,235
  • sloc: ansic: 14,310; sh: 194; makefile: 150; xml: 125
file content (40 lines) | stat: -rwxr-xr-x 781 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
32
33
34
35
36
37
38
39
40
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie

CMAKE_EXTRA_FLAGS += -DBUILD_DOCS:BOOL=ON -DBUILD_TESTS:BOOL=ON


%:
	dh $@ --buildsystem=cmake --builddirectory=build --parallel


override_dh_auto_configure:
	mkdir -p build
	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)


override_dh_auto_build:
	dh_auto_build
	rm -f build/docs/epr_c_api/jquery.js


override_dh_compress:
	dh_compress -X.html


override_dh_installchangelogs:
	dh_installchangelogs -k CHANGELOG.txt


get-orig-source:
	uscan --force-download


.PHONY: get-orig-source override_dh_auto_configure override_dh_auto_build \
        override_dh_compress override_dh_installchangelogs