]> git.proxmox.com Git - fence-agents-pve.git/blame - debian/rules
update to 4.0.10
[fence-agents-pve.git] / debian / rules
CommitLineData
24b72ae8
DM
1#!/usr/bin/make -f
2
3# Uncomment this to turn on verbose mode.
4#export DH_VERBOSE=1
5
6# This has to be exported to make some magic below work.
7export DH_OPTIONS
8
9AGENTS= \
10alom \
b5a48354 11amt \
24b72ae8
DM
12apc \
13apc_snmp \
24b72ae8
DM
14bladecenter \
15brocade \
24b72ae8
DM
16cisco_mds \
17cisco_ucs \
24b72ae8
DM
18drac \
19drac5 \
20eaton_snmp \
24b72ae8 21eps \
550426e9
DM
22hds_cb \
23hpblade \
24b72ae8
DM
24ibmblade \
25ifmib \
26ilo \
27ilo_mp \
28intelmodular \
550426e9 29ipdu \
24b72ae8
DM
30ipmilan \
31ldom \
32lib \
33lpar \
34manual \
550426e9 35netio \
b5a48354 36ovh \
24b72ae8
DM
37rsa \
38rsb \
39sanbox2 \
24b72ae8 40wti \
24b72ae8
DM
41zvm
42
43DESTDIR=debian/fence-agents-pve/
44
45%:
f5de5b7f 46 dh --with quilt $@
24b72ae8
DM
47
48override_dh_auto_configure:
b5a48354 49 ./autogen.sh
24b72ae8
DM
50 ./configure \
51 --prefix=/usr \
52 --localstatedir=/var \
53 --sysconfdir=/etc \
54 --docdir=/usr/share/doc/fence-agents-pve \
55 --with-agents="${AGENTS}"
56
57
58override_dh_install:
59 dh_install
60 rmdir ${DESTDIR}/var/run/cluster
61 rmdir ${DESTDIR}/var/run
62 rm ${DESTDIR}/usr/share/doc/fence-agents-pve/COPYING.applications
63 rm ${DESTDIR}/usr/share/doc/fence-agents-pve/COPYING.libraries
64 rm ${DESTDIR}/usr/share/doc/fence-agents-pve/README.licence
876a0fc0
DM
65 rm ${DESTDIR}/usr/share/doc/fence-agents-pve/COPYRIGHT
66