9 MANDIR
=${PREFIX}/share
/man
10 DOCDIR
=${PREFIX}/share
/doc
11 MAN1DIR
=${MANDIR}/man1
/
12 PERLDIR
=${PREFIX}/share
/perl5
14 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
15 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
17 DEB
=${PACKAGE}_
${VERSION}-${PKGREL}_
${ARCH}.deb
28 ${DEB}: src
test debian
32 rsync
-a debian
/ build
/debian
33 echo
"git clone git://git.proxmox.com/git/pve-firewall.git\\ngit checkout ${GITVERSION}" > build
/debian
/SOURCE
35 cd build
; dpkg-buildpackage
-b
-us
-uc
46 rm -rf
*~ debian
/*~ example
/*~
*.deb
*.changes
*.buildinfo build
${PACKAGE}-*.
tar.gz
54 tar cf
- ${DEB} | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist stretch
--arch
${ARCH}