1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=libpve-storage-perl
9 MANDIR
=${PREFIX}/share
/man
10 DOCDIR
=${PREFIX}/share
/doc
/${PACKAGE}
11 MAN1DIR
=${MANDIR}/man1
/
12 BASHCOMPLDIR
=${PREFIX}/share
/bash-completion
/completions
/
13 ZSHCOMPLDIR
=${PREFIX}/share
/zsh
/vendor-completions
/
15 export PERLDIR
=${PREFIX}/share
/perl5
17 GITVERSION
:=$(shell git rev-parse HEAD
)
19 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
21 -include /usr
/share
/pve-doc-generator
/pve-doc-generator.mk
29 pvesm.bash-completion
:
30 perl
-I.
-T
-e
"use PVE::CLI::pvesm; PVE::CLI::pvesm->generate_bash_completions();" >$@.tmp
34 perl
-I.
-T
-e
"use PVE::CLI::pvesm; PVE::CLI::pvesm->generate_zsh_completions();" >$@.tmp
38 install: PVE pvesm
.1 pvesm.bash-completion pvesm.zsh-completion
39 install -d
${DESTDIR}${SBINDIR}
40 install -m
0755 pvesm
${DESTDIR}${SBINDIR}
42 make
-C udev-rbd
install
43 install -d
${DESTDIR}/usr
/share
/man
/man1
44 install -m
0644 pvesm
.1 ${DESTDIR}/usr
/share
/man
/man1
/
45 gzip
-9 -n
${DESTDIR}/usr
/share
/man
/man1
/pvesm
.1
46 install -m
0644 -D pvesm.bash-completion
${DESTDIR}${BASHCOMPLDIR}/pvesm
47 install -m
0644 -D pvesm.zsh-completion
${DESTDIR}${ZSHCOMPLDIR}/_pvesm
54 echo
"git clone git://git.proxmox.com/git/pve-storage.git\\ngit checkout ${GITVERSION}" >build
/debian
/SOURCE
55 cd build
; dpkg-buildpackage
-b
-us
-uc
60 perl
-I.
-T
-e
"use PVE::CLI::pvesm; PVE::CLI::pvesm->verify_api();"
65 rm -f
*.xml.tmp
*.1 *.5 *.8 *{synopsis
,opts
}.adoc docinfo.xml
66 rm -rf build
*.deb
*.buildinfo
*.changes
74 tar cf
- ${DEB} | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist bullseye