10 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
11 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
13 DEB1
=${PACKAGE}_
${LXCVER}-${DEBREL}_
${ARCH}.deb
14 DEB2
=${PACKAGE}-dev_
${LXCVER}-${DEBREL}_
${ARCH}.deb \
15 ${PACKAGE}-dbg_
${LXCVER}-${DEBREL}_
${ARCH}.deb
27 cp
-a debian
${SRCDIR}/debian
28 echo
"git clone git://git.proxmox.com/git/lxc.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}/debian
/SOURCE
29 cd
${SRCDIR}; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
35 rm -rf
${SRCDIR} ${SRCTAR}
36 git clone
-b lxc-
${LXCVER} git
://github.com
/lxc
/lxc
37 tar czf
${SRCTAR}.tmp
${SRCDIR}
38 mv
${SRCTAR}.tmp
${SRCTAR}
42 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com upload
48 rm -rf
${SRCDIR} ${SRCDIR}.tmp
*_
${ARCH}.deb
*.changes
*.dsc
49 find .
-name
'*~' -exec
rm {} ';'