File: rules

package info (click to toggle)
libe-book 0.1.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,816 kB
  • sloc: cpp: 24,914; sh: 4,509; makefile: 458; ansic: 4
file content (25 lines) | stat: -rwxr-xr-x 821 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
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

#20:21 <@dtardon> _rene_, the boost issue::system is an internal boost thing. it 
#                 is fixed by commit b903d0dc91f482b348e5840e5a1df599ebd5e6f9 . 
#                 you can pass the same define though CPPFLAGS to configure as a 
#                 workaround. i'll add the missing check for librevenge-stream 
#                 for unit tests (btw, i think at least libetonyek has the same 
#                 problem)
#20:25 <@dtardon> _rene_, CPPFLAGS=-DBOOST_ERROR_CODE_HEADER_ONLY
CPPFLAGS+=-DBOOST_ERROR_CODE_HEADER_ONLY

override_dh_auto_configure:
	dh_auto_configure -- --without-docs --disable-werror

# fails; temporarily disabled
#override_dh_auto_test: