]>
Commit | Line | Data |
---|---|---|
930e051d DM |
1 | #!/usr/bin/make -f |
2 | # -*- makefile -*- | |
3 | # Sample debian/rules that uses debhelper. | |
4 | # This file was originally written by Joey Hess and Craig Small. | |
5 | # As a special exception, when this file is copied by dh-make into a | |
6 | # dh-make output file, you may use that output file without restriction. | |
7 | # This special exception was added by Craig Small in version 0.37 of dh-make. | |
8 | ||
9 | # Uncomment this to turn on verbose mode. | |
10 | #export DH_VERBOSE=1 | |
11 | ||
013101f0 DM |
12 | # enable hardening |
13 | export DEB_BUILD_HARDENING=1 | |
930e051d | 14 | |
013101f0 DM |
15 | %: |
16 | dh $@ --with=quilt,systemd | |
930e051d | 17 | |
013101f0 DM |
18 | override_dh_auto_configure: |
19 | ./configure --prefix=/usr \ | |
20 | --sysconfdir=/etc \ | |
21 | --mandir=\$${prefix}/share/man \ | |
22 | --localstatedir=/var \ | |
23 | --infodir=\$${prefix}/share/info \ | |
14d0ff80 | 24 | --enable-augeas \ |
013101f0 | 25 | --enable-systemd |
930e051d | 26 | |
013101f0 DM |
27 | override_dh_systemd_enable: |
28 | dh_systemd_enable -pcorosync-pve --name corosync | |
930e051d | 29 | |
a25f456a FG |
30 | override_dh_systemd_start: |
31 | dh_systemd_start -pcorosync-pve --name corosync --restart-after-upgrade -r |