1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=libpve-http-server-perl
5 GITVERSION
:=$(shell git rev-parse HEAD
)
6 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
8 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
17 cp
-a debian
${BUILDDIR}/
18 echo
"git clone git://git.proxmox.com/git/pve-http-server\\ngit checkout $(GITVERSION)" > $(BUILDDIR
)/debian
/SOURCE
19 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
24 tar cf
- ${DEB} | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist buster
26 .PHONY
: clean distclean
32 rm -rf
${PACKAGE}-*/ *.deb
*.changes
*.buildinfo
${BTDIR} examples
/simple-demo.lck
33 find .
-name
'*~' -exec
rm {} ';'