-RELEASE=3.2
+RELEASE=4.0
PACKAGE=novnc-pve
-PKGREL=1
+PKGREL=2
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)
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: