]> git.proxmox.com Git - pve-spice-protocol.git/blob - Makefile
update to 0.12.11
[pve-spice-protocol.git] / Makefile
1 RELEASE=4.2
2
3 PACKAGE=libspice-protocol-dev
4 PKGVERSION=0.12.11
5 PKGRELEASE=1
6
7 PKGDIR=spice-protocol-${PKGVERSION}
8 PKGSRC=${PKGDIR}.tar.bz2
9
10 ARCH:="all"
11
12 DEB=${PACKAGE}_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb
13
14
15 all: ${DEB}
16
17 ${DEB} deb: ${PKGSRC}
18 rm -rf ${PKGDIR}
19 tar xf ${PKGSRC}
20 cp -a debian ${PKGDIR}/debian
21 cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
22
23 distclean: clean
24
25 .PHONY: clean
26 clean:
27 rm -rf *~ debian/*~ *_${ARCH}.deb *.changes *.dsc ${PKGDIR}
28
29 .PHONY: dinstall
30 dinstall: ${DEB}
31 dpkg -i ${DEB}