2 DOCDIR
=${PREFIX}/share
/pve2-api-doc
/
9 datacenter.cfg
.5.html \
18 PVECLUSTERPODDIR
=/usr
/share
/doc
/pve-cluster
/pod
19 PVEMANAGERPODDIR
=/usr
/share
/doc
/pve-manager
/pod
20 QEMUSERVERPODDIR
=/usr
/share
/doc
/qemu-server
/pod
21 PVECONTAINERPODDIR
=/usr
/share
/doc
/pve-container
/pod
22 PVESTORAGEPODDIR
=/usr
/share
/doc
/libpve-storage-perl
/pod
23 PVEACCESSPODDIR
=/usr
/share
/doc
/libpve-access-control
/pod
24 PVEFIREWALLPODDIR
=/usr
/share
/doc
/pve-firewall
/pod
25 PVEHAMANAGERPODDIR
=/usr
/share
/doc
/pve-ha-manager
/pod
27 all: ${MANPAGES} apidoc.js
29 apidata.js
: extractapi.pl
32 JSSRC
= apidata.js PVEAPI.js
37 pvecm
.1.html
: ${PVECLUSTERPODDIR}/pvecm
.1.pod
38 cat
$<|pod2html
--noindex
> $@
40 pveum
.1.html
: ${PVEACCESSPODDIR}/pveum
.1.pod
41 cat
$<|pod2html
--noindex
> $@
43 datacenter.cfg
.5.html
: ${PVECLUSTERPODDIR}/datacenter.cfg
.5.pod
44 cat
$<|pod2html
--noindex
> $@
46 qm
.1.html
: ${QEMUSERVERPODDIR}/qm
.1.pod
47 cat
$<|pod2html
--noindex
> $@
49 pct
.1.html
: ${PVECONTAINERPODDIR}/pct
.1.pod.gz
50 zcat
$<|pod2html
--noindex
> $@
52 pve-firewall
.1.html
: ${PVEFIREWALLPODDIR}/pve-firewall
.1.pod
53 cat
$<|pod2html
--noindex
> $@
55 pve-ha-lrm
.1.html
: ${PVEHAMANAGERPODDIR}/pve-ha-lrm
.1.pod
56 cat
$<|pod2html
--noindex
> $@
58 pve-ha-crm
.1.html
: ${PVEHAMANAGERPODDIR}/pve-ha-crm
.1.pod
59 cat
$<|pod2html
--noindex
> $@
61 ha-manager
.1.html
: ${PVEHAMANAGERPODDIR}/ha-manager
.1.pod.gz
62 zcat
$<|pod2html
--noindex
> $@
64 pvesm
.1.html
: ${PVESTORAGEPODDIR}/pvesm
.1.pod
65 cat
$<|pod2html
--noindex
> $@
67 vm.conf
.5.html
: ${QEMUSERVERPODDIR}/vm.conf
.5.pod
68 cat
$<|pod2html
--noindex
> $@
70 vzdump
.1.html
: ${PVEMANAGERPODDIR}/vzdump
.1.pod
71 cat
$<|pod2html
--noindex
> $@
73 pvectl
.1.html
: ${PVEMANAGERPODDIR}/pvectl
.1.pod
74 cat
$<|pod2html
--noindex
> $@
77 install: apidoc.js apidoc.html apidata.js
${MANPAGES}
78 install -d
-m
0755 ${DESTDIR}${DOCDIR}
79 install -D
-m
0644 apidoc.html
${DESTDIR}${DOCDIR}/index.html
;
80 install -D
-m
0644 apidoc.js
${DESTDIR}${DOCDIR}/apidoc.js
;
81 install -D
-m
0644 apidata.js
${DESTDIR}${DOCDIR}/apidata.js
;
82 install -D
-m
0644 pve-man-include.php
${DESTDIR}/etc
/mediawiki-extensions
/extensions-available
/pve-man-include.php
;
83 install -d
-m
0755 ${DESTDIR}${DOCDIR}/man
84 install -m
0644 ${MANPAGES} ${DESTDIR}${DOCDIR}/man
86 #pvelib_DATA = apidoc.js apidoc.html
87 #pvelibdir = ${WWW_ROOTDIR}
90 -rm -rf
*~ apidata.js apidoc.js
${MANPAGES}