1 include /usr
/share
/dpkg
/pkg-info.mk
2 include /usr
/share
/dpkg
/architecture.mk
6 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
7 GITVERSION
:=$(shell git rev-parse HEAD
)
9 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_
${DEB_BUILD_ARCH}.deb
10 DSC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
11 DEB2
=${PACKAGE}-dbgsym_
${DEB_VERSION_UPSTREAM_REVISION}_
${DEB_BUILD_ARCH}.deb
22 rsync
-a src
/ debian
${BUILDDIR}
23 echo
"git clone git://git.proxmox.com/git/pve-firewall.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian
/SOURCE
28 $(DEB
): ${BUILDDIR} check
29 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
35 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
42 .PHONY
: clean distclean
47 rm -rf
*~ debian
/*~ example
/*~
*.deb
*.changes
*.buildinfo
${BUILDDIR} ${PACKAGE}*.
tar.gz
*.dsc
51 tar cf
- $(DEBS
) | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist buster
--arch
${DEB_BUILD_ARCH}