7 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
8 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
10 DEB
=${PACKAGE}_
${VER}-${PKGREL}_
${ARCH}.deb
19 cp
-rpa
${SRCDIR} ${SRCDIR}.tmp
20 cp
-a debian
${SRCDIR}.tmp
/
21 echo
"git clone git://git.proxmox.com/git/novnc-pve.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}.tmp
/debian
/SOURCE
22 cd
${SRCDIR}.tmp
; dpkg-buildpackage
-rfakeroot
-b
-uc
-us
28 test -f
"${SRCDIR}/vnc.html" || git submodule update
--init
32 git submodule
foreach 'git pull --ff-only origin master'
36 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pmg
,pve
--dist stretch
43 rm -rf
*~ debian
/*~
*_
${ARCH}.deb
${SRCDIR}.tmp
*_all.deb
*.changes
*.dsc
*.buildinfo