File: rules

package info (click to toggle)
ucommon 7.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,068 kB
  • sloc: cpp: 45,917; ansic: 714; sh: 226; makefile: 173
file content (25 lines) | stat: -rwxr-xr-x 509 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

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# TODO: patch code to support C++17 (see bug#984373)
export DEB_CXXFLAGS_MAINT_APPEND = -std=c++14

%:
	dh $@

# Strip bad pkg-config directives
override_dh_auto_configure:
	dh_auto_configure
	perl -i -pe 's/\s+-[fW]\S+//g' *.pc

override_dh_auto_build-indep:
	$(MAKE) doxy

override_dh_auto_test-indep:

override_dh_auto_install-indep:

override_dh_installdocs:
	dh_installdocs --exclude=.map --exclude=.md5