]>
git.proxmox.com Git - pve-qemu-kvm.git/blob - Makefile
3 # also update debian/changelog
7 KVMPACKAGE
=pve-qemu-kvm
9 KVMSRC
=${KVMDIR}-src.
tar.gz
12 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
14 KVM_DEB
=${KVMPACKAGE}_
${KVMVER}-${KVMPKGREL}_
${ARCH}.deb
16 all: ${KVM_DEB} ${KVMSRC}
20 rm -rf
${KVMDIR} ${KVMSRC}
21 git clone git
://git.qemu-project.org
/qemu.git
-b stable-2.2
${KVMDIR}
22 #git clone git://git.qemu-project.org/qemu.git ${KVMDIR}
23 cd
${KVMDIR}; git checkout v2.2
.1
24 tar czf
${KVMSRC} --exclude CVS
--exclude .git
--exclude .svn
${KVMDIR}
26 ${KVM_DEB} kvm
: ${KVMSRC}
29 cp
-a debian
${KVMDIR}/debian
30 echo
"git clone git://git.proxmox.com/git/pve-qemu-kvm.git\\ngit checkout ${GITVERSION}" > ${KVMDIR}/debian
/SOURCE
31 cd
${KVMDIR}; dpkg-buildpackage
-b
-rfakeroot
-us
-uc
32 lintian
${KVM_DEB} || true
35 upload
: ${KVM_DEB} ${KVMDIR}-src.
tar.gz
36 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
37 mkdir
-p
/pve
/${RELEASE}/extra
38 rm -rf
/pve
/${RELEASE}/extra
/Packages
*
39 rm -rf
/pve
/${RELEASE}/extra
/${KVMPACKAGE}_
*.deb
40 cp
${KVM_DEB} /pve
/${RELEASE}/extra
41 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null | gzip
-9c
> Packages.gz
42 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro
50 rm -rf
*~
${KVMDIR} ${KVMPACKAGE}_
*