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
)
16 echo
"git clone git://git.proxmox.com/git/pve-guest-common.git\\ngit checkout $(GITVERSION)" > $@.tmp
/debian
/SOURCE
22 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-us
-uc
31 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-us
-uc
-d
-nc
37 upload
: UPLOAD_DIST ?
= $(DEB_DISTRIBUTION
)
39 tar cf
- $(DEB
) | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist $(UPLOAD_DIST
)
43 rm -rf
$(PACKAGE
)-[0-9]*/ *.deb
*.dsc
*.changes
*.buildinfo
*.build
$(PACKAGE
)*.
tar*