X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=Makefile;h=a59018dbdb4d6b1e4c0393aa511c9f8a06040094;hp=c9bbbbeb1a3500c055a169a16a40434e67a20f2f;hb=41d185e8ec50461eedff102b86654ac50c70c51e;hpb=63c02d8ce73cd687fd260ab086876bb858304a95 diff --git a/Makefile b/Makefile index c9bbbbe..a59018d 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ deb ${DEB}: cd build; dpkg-buildpackage -rfakeroot -b -us -uc lintian ${DEB} -install: pve-api-definition.js +install: pve-api-definition.dat install -d -m 0755 ${LIB_DIR}/PVE # install library tools from pve-common install -m 0644 PVE/Tools.pm ${LIB_DIR}/PVE @@ -30,20 +30,21 @@ install: pve-api-definition.js install -m 0644 PVE/RESTHandler.pm ${LIB_DIR}/PVE install -m 0644 PVE/CLIHandler.pm ${LIB_DIR}/PVE install -m 0644 PVE/PTY.pm ${LIB_DIR}/PVE + install -m 0644 PVE/SectionConfig.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/APIClient/Commands/help.pm ${LIB_DIR}/PVE/APIClient/Commands/help.pm - install -D -m 0644 pve-api-definition.js ${LIB_DIR}/pve-api-definition.js + install -D -m 0644 pve-api-definition.dat ${LIB_DIR}/pve-api-definition.dat 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 - mv pve-api-definition.js.tmp pve-api-definition.js +pve-api-definition.dat: + ./extractapi.pl > pve-api-definition.dat.tmp + mv pve-api-definition.dat.tmp pve-api-definition.dat #.PHONY: upload #upload: ${DEB}