8 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
10 GITVERSION
:=$(shell git rev-parse HEAD
)
12 DEB
=${PACKAGE}_
${VER}-${PKGREL}_
${ARCH}.deb
21 cp
-rpa
${SRCDIR} ${BUILDDIR}
22 cp
-a debian
${BUILDDIR}
23 echo
"git clone git://git.proxmox.com/git/novnc-pve.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian
/SOURCE
24 cd
${BUILDDIR}; dpkg-buildpackage
-rfakeroot
-b
-uc
-us
30 test -f
"${SRCDIR}/vnc.html" || git submodule update
--init
34 git submodule
foreach 'git pull --ff-only origin master'
38 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pmg
,pve
--dist stretch
45 rm -rf
*~ debian
/*~
*.deb
${BUILDDIR} *.changes
*.dsc
*.buildinfo