1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=libpve-common-perl
7 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
9 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_
${ARCH}.deb
10 DSC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
11 TARGZ
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.
tar.gz
20 ${BUILDDIR}: src debian
22 rsync
-a
* ${BUILDDIR}
23 echo
"git clone git://git.proxmox.com/git/pve-common.git\\ngit checkout $(shell git rev-parse HEAD)" > ${BUILDDIR}/debian
/SOURCE
28 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
34 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
-nc
37 .PHONY
: clean distclean
40 rm -rf
*~
*.deb
*.changes
${BUILDDIR} *.buildinfo
*.dsc
*.
tar.gz
48 ${MAKE} -C src
install
52 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist buster