10 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
11 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
14 ${PACKAGE}_
${LXCVER}-${DEBREL}_
${ARCH}.deb \
15 ${PACKAGE}-dev_
${LXCVER}-${DEBREL}_
${ARCH}.deb \
16 ${PACKAGE}-dbg_
${LXCVER}-${DEBREL}_
${ARCH}.deb
21 deb
${DEBS}: ${SRCTAR}
24 cp
-a debian
${SRCDIR}/debian
25 echo
"git clone git://git.proxmox.com/git/lxc.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}/debian
/SOURCE
26 cd
${SRCDIR}; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
32 rm -rf
${SRCDIR} ${SRCTAR}
33 git clone
-b lxc-
${LXCVER} git
://github.com
/lxc
/lxc
34 tar czf
${SRCTAR}.tmp
${SRCDIR}
35 mv
${SRCTAR}.tmp
${SRCTAR}
39 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com upload
45 rm -rf
${SRCDIR} ${SRCDIR}.tmp
*_
${ARCH}.deb
*.changes
*.dsc
46 find .
-name
'*~' -exec
rm {} ';'