]>
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
13 KVM_DEB
=${KVMPACKAGE}_
${KVMVER}-${KVMPKGREL}_
${ARCH}.deb
15 all: ${KVM_DEB} ${KVMSRC}
19 rm -rf
${KVMDIR} ${KVMSRC}
20 # git clone git://git.qemu-project.org/qemu.git -b master ${KVMDIR}
21 git clone git
://git.qemu-project.org
/qemu-stable-1.4.git
-b stable-1.4
${KVMDIR}
22 tar czf
${KVMSRC} --exclude CVS
--exclude .git
--exclude .svn
${KVMDIR}
24 ${KVM_DEB} kvm
: ${KVMSRC}
27 cp
-a debian
${KVMDIR}/debian
28 cd
${KVMDIR}; dpkg-buildpackage
-b
-rfakeroot
-us
-uc
29 lintian
${KVM_DEB} || true
32 upload
: ${KVM_DEB} ${KVMDIR}-src.
tar.gz
33 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
34 mkdir
-p
/pve
/${RELEASE}/extra
35 rm -rf
/pve
/${RELEASE}/extra
/Packages
*
36 rm -rf
/pve
/${RELEASE}/extra
/${KVMPACKAGE}_
*.deb
37 cp
${KVM_DEB} /pve
/${RELEASE}/extra
38 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null | gzip
-9c
> Packages.gz
39 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro
47 rm -rf
*~
${KVMDIR} ${KVMPACKAGE}_
*