File: rules

package info (click to toggle)
rtfilter 1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 500 kB
  • sloc: ansic: 2,671; makefile: 246; sh: 83; python: 57
file content (19 lines) | stat: -rwxr-xr-x 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	export DEB_CFLAGS_MAINT_APPEND = -O3 -Wall -Wextra
else
	export DEB_CFLAGS_MAINT_APPEND = -Wall -Wextra
endif
export DEB_LDFLAGS_MAINT_APPEND=-Wl,-Bsymbolic-functions
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh  $@ --buildsystem=meson

execute_after_dh_installdocs:
	find debian/*/usr/share/doc -name COPYING -delete

execute_after_dh_installexamples:
	rm -rf debian/librtfilter1/usr/share/doc/librtfilter1/examples