]> git.proxmox.com Git - novnc-pve.git/blame - Makefile
initial import
[novnc-pve.git] / Makefile
CommitLineData
42e49257
DM
1RELEASE=3.2
2
3NOVNCDIR=novnc
4NOVNCSRC=${NOVNCDIR}.tgz
5
6ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
7
8all: deb
9
10.PHONY: dinstall
11dinstall: deb
12 dpkg -i ${DEB}
13
14.PHONY: deb
15deb ${DEB}: ${TARSRC}
16 rm -rf ${NOVNCDIR}
17 tar xf ${NOVNCSRC}
18 cd ${NOVNCDIR}; dpkg-buildpackage -b -uc -us
19
20.PHONY: download
21download:
22 rm -rf ${NOVNCDIR}
23 git clone git://github.com/kanaka/noVNC ${NOVNCDIR}
24 tar czf ${NOVNCSRC} ${NOVNCDIR}
25
26.PHONY: clean
27clean:
28 rm -rf *~ *_${ARCH}.deb *_all.deb *.changes *.dsc novnc