]> git.proxmox.com Git - pve-cluster.git/blob - debian/rules
bump version to 5.0-13
[pve-cluster.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 # This has to be exported to make some magic below work.
8 export DH_OPTIONS
9
10 BUILDROOT := $(shell pwd)
11
12 %:
13 dh $@ --with=systemd
14
15 override_dh_strip:
16 dh_strip --dbg-package=pve-cluster-dbg
17
18 override_dh_auto_configure:
19
20 ./autogen.sh
21
22 ./configure --prefix=/usr
23
24 override_dh_systemd_start:
25 dh_systemd_start --restart-after-upgrade
26
27 override_dh_auto_install:
28
29 make -j1 install DESTDIR=../debian/pve-cluster
30
31 override_dh_install:
32
33 dh_install
34
35 # we do not install this, because we don't want to break
36 # existing tools which parse syslog entries
37 #install -m 0644 -D debian/pve-rsyslog.conf debian/pve-cluster/etc/rsyslog.d/pve-rsyslog.conf
38 install -m 0644 -D debian/sysctl.conf debian/pve-cluster/etc/sysctl.d/pve.conf
39
40 override_dh_installinit:
41
42 dh_installinit -R