1 include /usr
/share
/dpkg
/pkg-info.mk
5 GITVERSION
:=$(shell git rev-parse HEAD
)
7 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
22 mkdir
-p
${BUILD_DIR}/debian
23 cp
-ar debian
/* ${BUILD_DIR}/debian
/
24 echo
"git clone git://git.proxmox.com/git/proxmox-backup-meta.git\\ngit checkout ${GITVERSION}" > ${BUILD_DIR}/debian
/SOURCE
25 cd
${BUILD_DIR}; dpkg-buildpackage
-b
-uc
-us
30 tar cf
- ${DEBS}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pbs
--dist ${DIST} --arch
${ARCH}
33 rm -rf
${BUILD_DIR} *.deb
*.buildinfo
*.changes
34 find .
-name
'*~' -exec
rm {} ';'