]>
Commit | Line | Data |
---|---|---|
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. | |
7 | export DH_OPTIONS | |
8 | ||
9 | AGENTS= \ | |
10 | alom \ | |
b5a48354 | 11 | amt \ |
24b72ae8 DM |
12 | apc \ |
13 | apc_snmp \ | |
24b72ae8 DM |
14 | bladecenter \ |
15 | brocade \ | |
24b72ae8 DM |
16 | cisco_mds \ |
17 | cisco_ucs \ | |
24b72ae8 DM |
18 | drac \ |
19 | drac5 \ | |
20 | eaton_snmp \ | |
24b72ae8 | 21 | eps \ |
550426e9 DM |
22 | hds_cb \ |
23 | hpblade \ | |
24b72ae8 DM |
24 | ibmblade \ |
25 | ifmib \ | |
26 | ilo \ | |
27 | ilo_mp \ | |
28 | intelmodular \ | |
550426e9 | 29 | ipdu \ |
24b72ae8 DM |
30 | ipmilan \ |
31 | ldom \ | |
32 | lib \ | |
33 | lpar \ | |
34 | manual \ | |
550426e9 | 35 | netio \ |
b5a48354 | 36 | ovh \ |
44ca6728 | 37 | pve \ |
24b72ae8 DM |
38 | rsa \ |
39 | rsb \ | |
40 | sanbox2 \ | |
8fabb4ad | 41 | scsi \ |
24b72ae8 | 42 | wti \ |
24b72ae8 DM |
43 | zvm |
44 | ||
45 | DESTDIR=debian/fence-agents-pve/ | |
46 | ||
47 | %: | |
f5de5b7f | 48 | dh --with quilt $@ |
24b72ae8 DM |
49 | |
50 | override_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 | ||
60 | override_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 |