]> git.proxmox.com Git - novnc-pve.git/blob - Makefile
add our own debian files
[novnc-pve.git] / Makefile
1 RELEASE=3.2
2
3 PACKAGE=novnc-pve
4 PKGREL=1
5
6 NOVNCDIR=novnc
7 NOVNCSRC=${NOVNCDIR}.tgz
8 NOVNCVER=0.4
9
10 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
11
12 DEB=${PACKAGE}_${NOVNCVER}-${PKGREL}_${ARCH}.deb
13
14 all: deb
15
16 .PHONY: dinstall
17 dinstall: deb
18 dpkg -i ${DEB}
19
20 .PHONY: deb
21 deb ${DEB}: ${TARSRC}
22 rm -rf ${NOVNCDIR}
23 tar xf ${NOVNCSRC}
24 mv ${NOVNCDIR}/debian ${NOVNCDIR}/debian.org
25 cp -a debian ${NOVNCDIR}/debian
26 cd ${NOVNCDIR}; dpkg-buildpackage -b -uc -us
27 lintian ${DEB}
28
29 .PHONY: download
30 download:
31 rm -rf ${NOVNCDIR}
32 git clone git://github.com/kanaka/noVNC ${NOVNCDIR}
33 tar czf ${NOVNCSRC} ${NOVNCDIR}
34
35 .PHONY: clean
36 clean:
37 rm -rf *~ debian/*~ *_${ARCH}.deb *_all.deb *.changes *.dsc novnc