]> git.proxmox.com Git - corosync-pve.git/blob - debian/rules
update to 2.3.4, recompile for Jessie with systemd
[corosync-pve.git] / debian / rules
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
12 # enable hardening
13 export DEB_BUILD_HARDENING=1
14
15 %:
16 dh $@ --with=quilt,systemd
17
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 \
24 --enable-systemd
25
26 override_dh_systemd_enable:
27 dh_systemd_enable -pcorosync-pve --name corosync
28
29 #override_dh_systemd_start:
30 # dh_systemd_start -pcorosync-pve --name corosync --no-start