8 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
10 GITVERSION
:=$(shell git rev-parse HEAD
)
12 DEB
=${PACKAGE}_
${VER}-${PKGREL}_
${ARCH}.deb
19 test -f
"${SRCDIR}/debian/changelog" || git submodule update
--init
27 cp
-a
$(SRCDIR
)/* $(BUILDDIR
)/
28 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
--dist stretch
40 rm -rf
${BUILDDIR} *.deb
*.changes
*.dsc
*.buildinfo