~newell-jensen/maas/update-fix-1508741-1.9

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Raphael Badin
  • Date: 2012-01-19 15:04:53 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: raphael.badin@canonical.com-20120119150453-2155sol451t8zt7g
Generate static doc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
PYTHON = python2.7
2
2
 
3
 
build: bin/buildout bin/django
 
3
build: bin/buildout bin/django html-doc
4
4
 
5
5
bin/buildout: bootstrap.py
6
6
        $(PYTHON) bootstrap.py
19
19
 
20
20
check: clean test
21
21
 
 
22
api-doc: src/maasserver/api.py
 
23
        bin/django gen_rst_api_doc > docs/api.rst
 
24
 
 
25
html-doc: api-doc
 
26
        cd docs; make html; cd ..
 
27
 
22
28
clean:
23
29
        find . -type f -name '*.py[co]' -print0 | xargs -r0 $(RM)
24
30
        $(RM) bin/buildout bin/django bin/django-python bin/test