1 include /usr
/share
/dpkg
/pkg-info.mk
6 BUILDDIR
=${SRCDIR}-${DEB_VERSION_UPSTREAM}
8 GITVERSION
:=$(shell git rev-parse HEAD
)
10 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
17 test -f
"${SRCDIR}/debian/changelog" || git submodule update
--init
20 ${BUILDDIR}: submodule
23 cp
-a
$(SRCDIR
)/* $(BUILDDIR
)/
24 cp
-R debian
/* $(BUILDDIR
)/debian
/
29 cd
${BUILDDIR}; dpkg-buildpackage
-rfakeroot
-b
-uc
-us
33 tar cf
- ${DEB} | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
,pmg
,pbs
--dist bullseye
40 rm -rf
${PACKAGE}-*/ *.deb
*.changes
*.dsc
*.buildinfo