]>
git.proxmox.com Git - novnc-pve.git/blob - Makefile
8b96a2dd0558fe5a057c5b381e01d3ea568ce0e4
7 NOVNCSRC
=${NOVNCDIR}.tgz
10 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
11 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
13 DEB
=${PACKAGE}_
${NOVNCVER}-${PKGREL}_
${ARCH}.deb
25 mv
${NOVNCDIR}/debian
${NOVNCDIR}/debian.org
26 cp
-a debian
${NOVNCDIR}/debian
27 cp vnc_pve.html
${NOVNCDIR}
28 # fix file permissions
29 chmod
0644 ${NOVNCDIR}/include/jsunzip.js
30 echo
"git clone git://git.proxmox.com/git/novnc-pve.git\\ngit checkout ${GITVERSION}" > ${NOVNCDIR}/debian
/SOURCE
31 cd
${NOVNCDIR}; dpkg-buildpackage
-b
-uc
-us
37 git clone git
://github.com
/kanaka
/noVNC
${NOVNCDIR}
38 tar czf
${NOVNCSRC} ${NOVNCDIR}
42 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
43 mkdir
-p
/pve
/${RELEASE}/extra
44 rm -f
/pve
/${RELEASE}/extra
/${PACKAGE}_
*.deb
45 rm -f
/pve
/${RELEASE}/extra
/Packages
*
46 cp
${DEB} /pve
/${RELEASE}/extra
47 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null
> Packages
; gzip
-9c Packages
> Packages.gz
48 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro
55 rm -rf
*~ debian
/*~
*_
${ARCH}.deb
*_all.deb
*.changes
*.dsc novnc