1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=libpve-guest-common-perl
5 DEB
=$(PACKAGE
)_
$(DEB_VERSION
)_all.deb
6 DSC
=$(PACKAGE
)_
$(DEB_VERSION
).dsc
8 BUILDDIR ?
= $(PACKAGE
)-$(DEB_VERSION
)
15 cp
-a debian
$(BUILDDIR
)/
16 echo
"git clone git://git.proxmox.com/git/pve-guest-common.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR
)/debian
/SOURCE
21 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-us
-uc
27 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-us
-uc
-d
-nc
32 tar cf
- $(DEB
) | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist bullseye
37 rm -rf
$(BUILDDIR
) *.deb
*.dsc
*.changes
*.buildinfo
*.
tar.gz