1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=libproxmox-acme-perl
5 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
6 GITVERSION
:=$(shell git rev-parse HEAD
)
8 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
9 DSC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
13 $(BUILDDIR
): src debian
15 rsync
-a src
/ debian
$(BUILDDIR
)
16 # remove if repository exists
17 # echo "git clone git://git.proxmox.com/git/proxmox-acme\\ngit checkout $(GITVERSION)" > $(BUILDDIR)/debian/SOURCE
22 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-us
-uc
28 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
36 rm -rf
$(BUILDDIR
) *.deb
*.buildinfo
*.changes
*.dsc
*.
tar.gz
40 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist buster
--arch
${DEB_BUILD_ARCH}