]>
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 | %: | |
13 | dh $@ | |
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 | |
46aefbc5 SP |
24 | override_dh_auto_install: |
25 | ||
26 | make -j1 install DESTDIR=../debian/pve-cluster | |
27 | ||
3b2437c5 DM |
28 | override_dh_install: |
29 | ||
30 | dh_install | |
31 | ||
32 | # we do not install this, because we don't want to break | |
33 | # existing tools which parse syslog entries | |
34 | #install -m 0644 -D debian/pve-rsyslog.conf debian/pve-cluster/etc/rsyslog.d/pve-rsyslog.conf | |
501839ca | 35 | install -m 0644 -D debian/sysctl.conf debian/pve-cluster/etc/sysctl.d/pve.conf |
3b2437c5 | 36 | |
b8e7156a DM |
37 | override_dh_installinit: |
38 | ||
39 | dh_installinit -R |