File: rules

package info (click to toggle)
libkkc 0.3.5-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,876 kB
  • sloc: ansic: 7,099; makefile: 919; cpp: 435; python: 231; sh: 124
file content (23 lines) | stat: -rwxr-xr-x 583 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
#DH_VERBOSE = 1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))

%:
	dh $@ --with autoreconf,gir

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules

override_dh_strip:
	dh_strip --dbgsym-migration='libkkc2-dbg (<< 0.3.5-3~), libkkc-utils-dbg (<< 0.3.5-3~)'