10 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
11 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
13 DEB1
=${PACKAGE}_
${PKGVER}-${DEBREL}_
$(ARCH
).deb
14 DEB_DBG
=${PACKAGE}-dbgsym_
${PKGVER}-${DEBREL}_
$(ARCH
).deb
15 DEBS
=$(DEB1
) $(DEB_DBG
)
21 deb
$(DEB_DBG
): $(DEB1
)
25 mv
${SRCDIR}/debian
/changelog
${SRCDIR}/debian
/changelog.org
26 cat changelog.Debian
${SRCDIR}/debian
/changelog.org
> ${SRCDIR}/debian
/changelog
27 echo
"git clone git://git.proxmox.com/git/criu.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}/debian
/SOURCE
28 cd
${SRCDIR}; dpkg-buildpackage
-b
-us
-uc
34 rm -rf
${SRCDIR} ${SRCTAR}
35 git clone
-b debian
/3.11-2 https
://anonscm.debian.org
/git
/collab-maint
/criu.git
${SRCDIR}
36 tar czf
${SRCTAR}.tmp
--exclude
=.git
${SRCDIR}
37 mv
${SRCTAR}.tmp
${SRCTAR}
41 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist stretch
--arch
${ARCH}
47 rm -rf
${SRCDIR} ${SRCDIR}.tmp
*_
${ARCH}.deb
*.changes
*.dsc
*.buildinfo
48 find .
-name
'*~' -exec
rm {} ';'