]>
Commit | Line | Data |
---|---|---|
fe000966 DM |
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 | %: | |
170647bc | 13 | dh $@ --with=systemd |
fe000966 | 14 | |
46aefbc5 SP |
15 | override_dh_strip: |
16 | dh_strip --dbg-package=pve-cluster-dbg | |
fe000966 DM |
17 | |
18 | override_dh_auto_configure: | |
19 | ||
20 | ./autogen.sh | |
21 | ||
22 | ./configure --prefix=/usr | |
b8e7156a | 23 | |
170647bc DM |
24 | override_dh_systemd_start: |
25 | dh_systemd_start --restart-after-upgrade | |
26 | ||
46aefbc5 SP |
27 | override_dh_auto_install: |
28 | ||
29 | make -j1 install DESTDIR=../debian/pve-cluster | |
30 | ||
3b2437c5 DM |
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 | |
501839ca | 38 | install -m 0644 -D debian/sysctl.conf debian/pve-cluster/etc/sysctl.d/pve.conf |
3b2437c5 | 39 | |
b8e7156a DM |
40 | override_dh_installinit: |
41 | ||
42 | dh_installinit -R |