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