File: rules

package info (click to toggle)
librime 1.4.0+dfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 7,108 kB
  • sloc: cpp: 29,321; ansic: 2,510; makefile: 51; sh: 21
file content (24 lines) | stat: -rwxr-xr-x 572 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
#!/usr/bin/make -f

# See dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -Scmake -- \
	    -DCMAKE_BUILD_TYPE=Release \
	    -DBOOST_USE_CXX11=ON \
	    -DBUILD_TEST=OFF

override_dh_strip:
	dh_strip --dbgsym-migration='librime1-dbg (<< 1.2.9+dfsg1-1~)'

override_dh_missing:
	dh_missing --fail-missing

override_dh_installchangelogs:
	dh_installchangelogs -k CHANGELOG.md