]> git.proxmox.com Git - pve-spice-protocol.git/blame - Makefile
fix Makefile
[pve-spice-protocol.git] / Makefile
CommitLineData
721c4414 1RELEASE=4.2
70c25171
DM
2
3PACKAGE=libspice-protocol-dev
721c4414 4PKGVERSION=0.12.11
70c25171
DM
5PKGRELEASE=1
6
7PKGDIR=spice-protocol-${PKGVERSION}
8PKGSRC=${PKGDIR}.tar.bz2
9
84efb527 10ARCH=all
70c25171
DM
11
12DEB=${PACKAGE}_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb
13
14
15all: ${DEB}
16
fdd3e10e 17.PHONY: deb
84efb527
DC
18deb: $(DEB)
19$(DEB): ${PKGSRC}
70c25171
DM
20 rm -rf ${PKGDIR}
21 tar xf ${PKGSRC}
22 cp -a debian ${PKGDIR}/debian
23 cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
24
fdd3e10e
DM
25.PHONY: upload
26upload: ${DEB}
27 tar cf - ${DEB}|ssh repoman@repo.proxmox.com upload
28
70c25171
DM
29distclean: clean
30
31.PHONY: clean
32clean:
84efb527 33 rm -rf *~ debian/*~ *_${ARCH}.deb *.changes *.buildinfo *.dsc ${PKGDIR}
70c25171
DM
34
35.PHONY: dinstall
36dinstall: ${DEB}
37 dpkg -i ${DEB}