-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathMakefile
39 lines (31 loc) · 1.01 KB
/
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
# This is the PyAudio distribution makefile.
.PHONY: docs clean
EPYDOC ?= epydoc
VERSION := 0.2.4
DOCS_OUTPUT=docs/
DOC_NAME := PyAudio-$(VERSION)
DOC_URL=http://people.csail.mit.edu/hubert/pyaudio/
what:
@echo "make targets:"
@echo
@echo " tarball : build source tarball"
@echo " docs : generate documentation (requires epydoc)"
@echo " clean : remove build files"
@echo
@echo "To build pyaudio, run:"
@echo
@echo " python setup.py install"
clean:
@rm -rf build dist MANIFEST $(DOCS_OUTPUT) src/*.pyc
######################################################################
# Documentation
######################################################################
docs:
@cd src; \
$(EPYDOC) -v -o ../$(DOCS_OUTPUT) --name $(DOC_NAME) --url $(DOC_URL) \
--no-private pyaudio.py
######################################################################
# Source Tarball
######################################################################
tarball: docs $(SRCFILES) MANIFEST.in
@python setup.py sdist