File: Makefile

package info (click to toggle)
ipy 1%3A0.52-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 204 kB
  • ctags: 200
  • sloc: python: 1,350; makefile: 27
file content (25 lines) | stat: -rw-r--r-- 485 bytes parent folder | download
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
.PHONY: test
PYTHON=python

test: README
	@echo "[ run unit tests ]"
	PYTHONPATH=$(PWD) $(PYTHON) test/test_IPy.py || exit $$?
	@echo
	@echo "[ test README ]"
	$(PYTHON) test_doc.py || exit $$?

egg: clean README
	$(PYTHON) setup.py sdist bdist_egg

README: IPy.py
	$(PYTHON) -c "import IPy; open('README', 'w').write(IPy.__doc__)"

IPy.html: README
	rst2html README $@ --stylesheet=rest.css

install:
	./setup.py install

clean:
	rm -rf README IPy.html *.pyc build dist IPy.egg-info