]> git.proxmox.com Git - fence-agents-pve.git/blame - debian/rules
add fence_pve to debian/rules
[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 \
44ca6728 37pve \
24b72ae8
DM
38rsa \
39rsb \
40sanbox2 \
24b72ae8 41wti \
24b72ae8
DM
42zvm
43
44DESTDIR=debian/fence-agents-pve/
45
46%:
f5de5b7f 47 dh --with quilt $@
24b72ae8
DM
48
49override_dh_auto_configure:
b5a48354 50 ./autogen.sh
24b72ae8
DM
51 ./configure \
52 --prefix=/usr \
53 --localstatedir=/var \
54 --sysconfdir=/etc \
55 --docdir=/usr/share/doc/fence-agents-pve \
56 --with-agents="${AGENTS}"
57
58
59override_dh_install:
60 dh_install
61 rmdir ${DESTDIR}/var/run/cluster
62 rmdir ${DESTDIR}/var/run
63 rm ${DESTDIR}/usr/share/doc/fence-agents-pve/COPYING.applications
64 rm ${DESTDIR}/usr/share/doc/fence-agents-pve/COPYING.libraries
65 rm ${DESTDIR}/usr/share/doc/fence-agents-pve/README.licence
876a0fc0
DM
66 rm ${DESTDIR}/usr/share/doc/fence-agents-pve/COPYRIGHT
67