X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=Makefile;h=4f519e519055aaee8165c3597235059c9c0ef4ac;hp=07669733b5c3bc52122c63c897d6742f821e57fe;hb=a8aa5b63711a9b0ee8536aac91901b1b38609c09;hpb=565bbc73ca66a8a0612df1c04e8f5b4a07f02ae1 diff --git a/Makefile b/Makefile index 0766973..4f519e5 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ DESTDIR= LIB_DIR=${DESTDIR}/usr/share/${PACKAGE} DOCDIR=${DESTDIR}/usr/share/doc/${PACKAGE} +BASHCOMPLDIR=${DESTDIR}/usr/share/bash-completion/completions/ all: ${DEB} @@ -31,8 +32,11 @@ install: pve-api-definition.js # install pveclient install -D -m 0644 PVE/APIClient/Helpers.pm ${LIB_DIR}/PVE/APIClient/Helpers.pm install -D -m 0644 PVE/APIClient/Commands/remote.pm ${LIB_DIR}/PVE/APIClient/Commands/remote.pm + install -D -m 0644 PVE/APIClient/Commands/lxc.pm ${LIB_DIR}/PVE/APIClient/Commands/lxc.pm install -D -m 0644 pve-api-definition.js ${LIB_DIR}/pve-api-definition.js install -D -m 0755 pveclient ${DESTDIR}/usr/bin/pveclient + install -D -m 0644 pveclient.bash-completion ${BASHCOMPLDIR}/pveclient + pve-api-definition.js: ./extractapi.pl > pve-api-definition.js.tmp