File: rules

package info (click to toggle)
rpki-client 9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,932 kB
  • sloc: ansic: 25,775; sh: 11,620; makefile: 238
file content (19 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all future=+lfs

D := $(CURDIR)/debian/rpki-client

%:
	dh $@ --builddirectory=build

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr \
		--with-base-dir=/var/lib/rpki-client/cache \
		--with-output-dir=/var/lib/rpki-client \
		--with-rsync=rsync \
		--with-tal-dir=/etc/tals

execute_after_dh_install:
	rm -rf $D/etc/tals/*.tal $D/var/