1 PACKAGE
=pve-edk2-firmware
2 # version and package release is controlled over d/changelog
3 VER
=$(shell dpkg-parsechangelog
-S version
)
6 BUILDDIR
=${SRCDIR}.build
8 GITVERSION
:=$(shell git rev-parse HEAD
)
10 DEB
=${PACKAGE}_
${VER}_all.deb
19 cp
-rpa
${SRCDIR} ${BUILDDIR}
20 cp
-a debian
${BUILDDIR}
21 echo
"git clone git://git.proxmox.com/git/pve-edk2-firmware.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian
/SOURCE
22 cd
${BUILDDIR}; dpkg-buildpackage
-b
-uc
-us
28 test -f
"${SRCDIR}/Readme.md" || git submodule update
--init
--recursive
30 .PHONY
: update_modules
31 update_modules
: submodule
32 git submodule
foreach 'git pull --ff-only origin master'
36 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist stretch
43 rm -rf
*~ debian
/*~
*.deb
${BUILDDIR} *.changes
*.dsc
*.buildinfo