-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (34 loc) · 795 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
## Makefile (for maintainance purpose)
##
PACKAGE=vnc2flv
PREFIX=/usr/local
SVN=svn
PYTHON=python
RM=rm -f
CP=cp -f
LN=ln -fs
all:
install:
$(PYTHON) setup.py install --prefix=$(PREFIX)
clean:
-$(PYTHON) setup.py clean
-$(RM) $(PACKAGE)/*.pyc
-$(RM) -r build dist
debug:
x11vnc -quiet -localhost -viewonly -nopw -bg
PYTHONPATH=. $(PYTHON) -m vnc2flv.video
runvnc:
x11vnc -quiet -localhost -viewonly -nopw -bg -many
recmp3:
arecord -f cd -c 1 -D input - | lame -f - sample.mp3
testflvscreen:
$(PYTHON) setup.py build
PYTHONPATH=build/lib.linux-i686-2.5 $(PYTHON) flvscreen/test.py
# Maintainance:
commit: clean
$(SVN) commit
register: clean
$(PYTHON) setup.py sdist upload register
WEBDIR=$$HOME/Site/unixuser.org/python/$(PACKAGE)
publish:
$(CP) docs/*.html $(WEBDIR)/