blob: a60a61fec77e9a90ca0234dd7198fd369063cf25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/usr/bin/make -f
# Add hardening build flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie
%:
dh $@ --parallel
override_dh_auto_configure:
dh_auto_configure --parallel -- --enable-reduced-depends
# We rebuild the perl directory Makefile to encode the correct installation
# paths, since otherwise it defaults to using the local site module path.
override_dh_auto_install:
cd perl && perl Makefile.PL INSTALLDIRS=vendor
dh_auto_install
install -d debian/tmp/etc/remctl/acl
install -m 0644 config/keytab.acl debian/tmp/etc/remctl/acl/keytab
install -m 0644 config/wallet-report.acl \
debian/tmp/etc/remctl/acl/wallet-report
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_compress:
dh_compress -X examples
override_dh_builddeb:
dh_builddeb -- -Zxz
|