1 include /usr
/share
/dpkg
/pkg-info.mk
8 GITVERSION
:=$(shell git rev-parse HEAD
)
10 DEB
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
)_all.deb
11 DSC
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
).dsc
15 $(SRCDIR
)/vnc.html
: submodule
16 $(BUILDDIR
): $(SRCDIR
)/vnc.html
18 cp
-rpa
$(SRCDIR
) $(BUILDDIR
)
19 cp
-a debian
$(BUILDDIR
)
20 echo
"git clone git://git.proxmox.com/git/novnc-pve.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR
)/debian
/SOURCE
25 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-uc
-us
32 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-uc
-us
-d
37 test -f
"$(SRCDIR)/package.json" || git submodule update
--init
41 git submodule
foreach 'git pull --ff-only origin master'
45 tar cf
- $(DEB
)|ssh
-X repoman@repo.proxmox.com
-- upload
--product pmg
,pve
--dist bullseye
52 rm -rf
*~ debian
/*~
*.deb
$(BUILDDIR
) *.changes
*.dsc
*.buildinfo
$(PACKAGE
)*.
tar.gz