]> git.proxmox.com Git - novnc-pve.git/blobdiff - Makefile
revert novnc.tar.gz to 8f3c0f6b9b5e5c23a7dc7e90bd22901017ab4fc7
[novnc-pve.git] / Makefile
index 8b96a2dd0558fe5a057c5b381e01d3ea568ce0e4..ed93a664c0172d1cca99b65c61c111101ce2dc68 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-RELEASE=3.2
+RELEASE=4.0
 
 PACKAGE=novnc-pve
 PKGREL=3
 
 NOVNCDIR=novnc
 NOVNCSRC=${NOVNCDIR}.tgz
-NOVNCVER=0.4
+NOVNCVER=0.5
 
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 GITVERSION:=$(shell cat .git/refs/heads/master)
@@ -22,19 +22,19 @@ dinstall: deb
 deb ${DEB}: ${TARSRC}
        rm -rf ${NOVNCDIR}
        tar xf ${NOVNCSRC}
-       mv ${NOVNCDIR}/debian ${NOVNCDIR}/debian.org
        cp -a debian ${NOVNCDIR}/debian
-       cp vnc_pve.html ${NOVNCDIR}
+       cp ${NOVNCDIR}/include/ui.js ${NOVNCDIR}/pveui.js
        # fix file permissions
        chmod 0644 ${NOVNCDIR}/include/jsunzip.js
        echo "git clone git://git.proxmox.com/git/novnc-pve.git\\ngit checkout ${GITVERSION}" > ${NOVNCDIR}/debian/SOURCE
        cd ${NOVNCDIR}; dpkg-buildpackage -b -uc -us
-       -lintian ${DEB}
+       lintian ${DEB}
 
 .PHONY: download
 download:
        rm -rf ${NOVNCDIR}
        git clone git://github.com/kanaka/noVNC ${NOVNCDIR}
+       cd ${NOVNCDIR}; git checkout -b local 8f3c0f6b9b5e5c23a7dc7e90bd22901017ab4fc7
        tar czf ${NOVNCSRC} ${NOVNCDIR}
 
 .PHONY: upload