3 SIMPACKAGE
=pve-ha-simulator
6 GITVERSION
:=$(shell git rev-parse HEAD
)
8 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
10 DEB
=${PACKAGE}_
${VERSION}-${PKGREL}_
${ARCH}.deb
11 SIMDEB
=${SIMPACKAGE}_
${VERSION}-${PKGREL}_all.deb
17 dinstall
: $(DEB
) $(SIMDEB
)
18 dpkg
-i
${DEB} ${SIMDEB}
26 rsync
-a debian
/ build
/debian
27 echo
"git clone git://git.proxmox.com/git/pve-ha-manager.git\\ngit checkout ${GITVERSION}" > build
/debian
/SOURCE
28 cd build
; dpkg-buildpackage
-b
-us
-uc
35 rm -rf build
*.deb
${PACKAGE}-*.
tar.gz
*.changes
*.buildinfo
36 find .
-name
'*~' -exec
rm {} ';'
42 upload
: ${DEB} ${SIMDEB}
43 tar cf
- ${DEB} ${SIMDEB}|ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist stretch
--arch
${ARCH}