]>
git.proxmox.com Git - lxc.git/blob - Makefile
c959b960ebd34398874c18a984a858fb43a52e80
10 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
11 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
14 ${PACKAGE}_
${LXCVER}-${DEBREL}_amd64.deb \
15 ${PACKAGE}-dev_
${LXCVER}-${DEBREL}_amd64.deb \
16 ${PACKAGE}-dbg_
${LXCVER}-${DEBREL}_amd64.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 stable-1.1 git
://github.com
/lxc
/lxc
34 tar czf
${SRCTAR}.tmp
${SRCDIR}
35 mv
${SRCTAR}.tmp
${SRCTAR}
39 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
40 mkdir
-p
/pve
/${RELEASE}/extra
41 rm -f
/pve
/${RELEASE}/extra
/${PACKAGE}_
*.deb
42 rm -f
/pve
/${RELEASE}/extra
/${PACKAGE}-dev_
*.deb
43 rm -f
/pve
/${RELEASE}/extra
/${PACKAGE}-dbg_
*.deb
44 rm -f
/pve
/${RELEASE}/extra
/Packages
*
45 cp
${DEBS} /pve
/${RELEASE}/extra
46 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null
> Packages
; gzip
-9c Packages
> Packages.gz
47 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro
53 rm -rf
${SRCDIR} ${SRCDIR}.tmp
*_
${ARCH}.deb
*.changes
*.dsc
54 find .
-name
'*~' -exec
rm {} ';'