]> git.proxmox.com Git - pve-client.git/blobdiff - Makefile
implement basic websocket protocol
[pve-client.git] / Makefile
index 6eccaecbcb792840ace65238392f049697849258..8fb26bf7cb1b67ad9d5adeac2493f8ce2a52323e 100644 (file)
--- 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}
 
@@ -30,10 +31,13 @@ install:  pve-api-definition.js
        install -m 0644 PVE/CLIHandler.pm ${LIB_DIR}/PVE
        # install pveclient
        install -D -m 0644 PVE/APIClient/Helpers.pm ${LIB_DIR}/PVE/APIClient/Helpers.pm
+       install -D -m 0644 PVE/APIClient/Config.pm ${LIB_DIR}/PVE/APIClient/Config.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