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
12 PERL5DIR
=${DESTDIR}/usr
/share
/perl5
13 DOCDIR
=${DESTDIR}/usr
/share
/doc
/${PACKAGE}
21 rsync
-a
* ${BUILDDIR}
22 echo
"git clone git://git.proxmox.com/git/pve-http-server\\ngit checkout $(GITVERSION)" > $(BUILDDIR
)/debian
/SOURCE
23 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
27 install -d
-m
755 ${PERL5DIR}/PVE
/APIServer
28 install -m
0644 PVE
/APIServer
/AnyEvent.pm
${PERL5DIR}/PVE
/APIServer
29 install -m
0644 PVE
/APIServer
/Formatter.pm
${PERL5DIR}/PVE
/APIServer
30 install -m
0644 PVE
/APIServer
/Utils.pm
${PERL5DIR}/PVE
/APIServer
31 install -d
-m
755 ${PERL5DIR}/PVE
/APIServer
/Formatter
32 install -m
0644 PVE
/APIServer
/Formatter
/Standard.pm
${PERL5DIR}/PVE
/APIServer
/Formatter
33 install -m
0644 PVE
/APIServer
/Formatter
/Bootstrap.pm
${PERL5DIR}/PVE
/APIServer
/Formatter
34 install -m
0644 PVE
/APIServer
/Formatter
/HTML.pm
${PERL5DIR}/PVE
/APIServer
/Formatter
38 tar cf
- ${DEB} | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist buster
40 .PHONY
: clean distclean
42 rm -f examples
/simple-demo.pem
45 rm -rf
${PACKAGE}-*/ *.deb
*.changes
*.buildinfo
${BTDIR} examples
/simple-demo.lck
46 find .
-name
'*~' -exec
rm {} ';'