]> git.proxmox.com Git - pve-cluster.git/blob - debian/rules
enable debug package for pve-cluster
[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 $@
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_auto_install:
25
26 make -j1 install DESTDIR=../debian/pve-cluster
27
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
35 install -m 0644 -D debian/sysctl.conf debian/pve-cluster/etc/sysctl.d/pve.conf
36
37 override_dh_installinit:
38
39 dh_installinit -R