5 DEB
=${PACKAGE}_
${PKGVER}-${PKGREL}_all.deb
9 LIB_DIR
=${DESTDIR}/usr
/share
/${PACKAGE}
10 DOCDIR
=${DESTDIR}/usr
/share
/doc
/${PACKAGE}
11 BASHCOMPLDIR
=${DESTDIR}/usr
/share
/bash-completion
/completions
/
19 make DESTDIR
=.
/build
install
20 cd build
; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
23 install: pve-api-definition.js
24 install -d
-m
0755 ${LIB_DIR}/PVE
25 # install library tools from pve-common
26 install -m
0644 PVE
/Tools.pm
${LIB_DIR}/PVE
27 install -m
0644 PVE
/SafeSyslog.pm
${LIB_DIR}/PVE
28 install -m
0644 PVE
/Exception.pm
${LIB_DIR}/PVE
29 install -m
0644 PVE
/JSONSchema.pm
${LIB_DIR}/PVE
30 install -m
0644 PVE
/RESTHandler.pm
${LIB_DIR}/PVE
31 install -m
0644 PVE
/CLIHandler.pm
${LIB_DIR}/PVE
33 install -D
-m
0644 PVE
/APIClient
/Helpers.pm
${LIB_DIR}/PVE
/APIClient
/Helpers.pm
34 install -D
-m
0644 PVE
/APIClient
/Commands
/remote.pm
${LIB_DIR}/PVE
/APIClient
/Commands
/remote.pm
35 install -D
-m
0644 PVE
/APIClient
/Commands
/lxc.pm
${LIB_DIR}/PVE
/APIClient
/Commands
/lxc.pm
36 install -D
-m
0644 pve-api-definition.js
${LIB_DIR}/pve-api-definition.js
37 install -D
-m
0755 pveclient
${DESTDIR}/usr
/bin
/pveclient
38 install -D
-m
0644 pveclient.bash-completion
${BASHCOMPLDIR}/pveclient
41 pve-api-definition.js
:
42 .
/extractapi.pl
> pve-api-definition.js.tmp
43 mv pve-api-definition.js.tmp pve-api-definition.js
47 # tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com upload --product pmg,pve --dist stretch
52 rm -rf .
/build
*.deb
*.changes
*.buildinfo
53 find .
-name
'*~' -exec
rm {} ';'