File: rules

package info (click to toggle)
ykclient 2.15-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,768 kB
  • sloc: sh: 11,547; ansic: 3,702; makefile: 102
file content (17 lines) | stat: -rwxr-xr-x 389 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --builddirectory=build

override_dh_install:
	chrpath -d $(CURDIR)/debian/tmp/usr/bin/ykclient
	find debian/tmp -name \*.la -delete
	dh_install --fail-missing

override_dh_auto_test:
	dh_auto_test -- CPPFLAGS+="-DTEST_WITHOUT_INTERNET"

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