1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=pve-edk2-firmware
6 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
8 GITVERSION
:=$(shell git rev-parse HEAD
)
10 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
11 #DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc # FIXME: TODO
16 ${BUILDDIR}: ${SRCDIR}/Readme.md
18 cp
-rpa
${SRCDIR} ${BUILDDIR}
19 cp
-a debian
${BUILDDIR}
20 echo
"git clone git://git.proxmox.com/git/pve-edk2-firmware.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian
/SOURCE
25 cd
${BUILDDIR}; dpkg-buildpackage
-b
-uc
-us
31 git submodule update
--init
--recursive
33 ${SRCDIR}/Readme.md
: submodule
35 .PHONY
: update_modules
36 update_modules
: submodule
37 git submodule
foreach 'git pull --ff-only origin master'
41 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist stretch
43 .PHONY
: distclean clean
46 rm -rf
*~ debian
/*~
*.deb
${BUILDDIR} *.changes
*.dsc
*.buildinfo