File: rules

package info (click to toggle)
ykclient 2.15-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,772 kB
  • ctags: 525
  • sloc: sh: 11,547; ansic: 3,702; makefile: 102
file content (17 lines) | stat: -rwxr-xr-x 418 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 $@ --parallel --with autoreconf --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