X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=Makefile;h=88a2311f0093a250f40d032eb27296dd425f614d;hp=4d7e64b26b2b2b39bb9bc74b6cb7c87fd1e663db;hb=09281ad74465a7dbc92edfa02463b0d2332a6e98;hpb=364ffc137ac86c55c86c5914bee1daa634a8c849;ds=sidebyside diff --git a/Makefile b/Makefile index 4d7e64b..88a2311 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,8 @@ dinstall: deb cat $<|pod2man -n $* -s 1 -r ${VERSION} -c "Proxmox Documentation"|gzip -c9 >$@.tmp mv $@.tmp $@ -pveum.1.pod: pveum - perl -I. ./pveum printmanpod >$@.tmp +pveum.1.pod: PVE/CLI/pveum.pm + perl -I. -T -e "use PVE::CLI::pveum; PVE::CLI::pveum->generate_pod_manpage();" >$@.tmp mv $@.tmp $@ .PHONY: install @@ -41,7 +41,8 @@ install: pveum.1.pod pveum.1.gz oathkeygen install -m 0755 pveum ${DESTDIR}${SBINDIR} install -m 0755 oathkeygen ${DESTDIR}${BINDIR} make -C PVE install - perl -I. ./pveum verifyapi + perl -I. ./pveum verifyapi + perl -I. -T -e "use PVE::CLI::pveum; PVE::CLI::pveum->verify_api();" install -d ${DESTDIR}/usr/share/man/man1 install -d ${DESTDIR}${PODDIR} install -m 0644 pveum.1.gz ${DESTDIR}/usr/share/man/man1/