-
Notifications
You must be signed in to change notification settings - Fork 15
/
Makefile
47 lines (35 loc) · 887 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
46
47
## Makefile (for maintainance purpose)
##
PACKAGE=vnc2flv
PYTHON=python
GIT=git
RM=rm -f
CP=cp -f
all:
install:
$(PYTHON) setup.py install --home=$(HOME)
clean:
-$(PYTHON) setup.py clean
-$(RM) -r build dist MANIFEST
-cd $(PACKAGE) && $(MAKE) clean
distclean: clean
pack: distclean MANIFEST
$(PYTHON) setup.py sdist
register: distclean MANIFEST
$(PYTHON) setup.py sdist upload register
MANIFEST:
$(GIT) ls-tree --name-only -r HEAD > MANIFEST
WEBDIR=$$HOME/Site/unixuser.org/python/$(PACKAGE)
publish:
$(CP) docs/*.html $(WEBDIR)/
# for testing
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