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 git rev-parse HEAD
)
17 DEB
=${PACKAGE}_
${VERSION}-${PKGREL}_
${ARCH}.deb
18 DEB2
=${PACKAGE}-dbgsym_
${VERSION}-${PKGREL}_
${ARCH}.deb
31 $(DEB
): src
test debian
35 rsync
-a debian
/ build
/debian
36 echo
"git clone git://git.proxmox.com/git/pve-firewall.git\\ngit checkout ${GITVERSION}" > build
/debian
/SOURCE
38 cd build
; dpkg-buildpackage
-b
-us
-uc
49 rm -rf
*~ debian
/*~ example
/*~
*.deb
*.changes
*.buildinfo build
${PACKAGE}-*.
tar.gz
57 tar cf
- $(DEBS
) | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist stretch
--arch
${ARCH}