X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=Makefile;h=d37025b6d408bdde4e8aa9f4484b27b228987040;hp=6eccaecbcb792840ace65238392f049697849258;hb=dce6ecbc505f8ea6f1231f5fd1fd9140636d7c2e;hpb=adf285bf0d623d059890dc1b957db42b3ebed826 diff --git a/Makefile b/Makefile index 6eccaec..d37025b 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} @@ -34,6 +35,8 @@ install: pve-api-definition.js 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.bash-completion + pve-api-definition.js: ./extractapi.pl > pve-api-definition.js.tmp