~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: John Arbash Meinel
  • Date: 2007-04-12 21:33:07 UTC
  • mfrom: (2413.4.1 api-doc-builders)
  • mto: This revision was merged to the branch mainline in revision 2566.
  • Revision ID: john@arbash-meinel.com-20070412213307-kuh07cnzaud12wx1
[merge] api-doc-builder and remove the pydoctor build code for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# A relatively simple Makefile to assist in building parts of bzr. Mostly for
18
18
# building documentation, etc.
19
19
 
20
 
.PHONY: all clean pyflakes api-docs pydoctor-api-docs
 
20
.PHONY: all clean pyflakes api-docs
21
21
 
22
22
 
23
23
all:
45
45
        -find . -name "*.pyc" -o -name "*.pyo" | xargs rm -f
46
46
        rm -rf test????.tmp
47
47
 
48
 
pydoctor-api-docs:
49
 
        mkdir -p api/pydoctor
50
 
        pydoctor -c pydoctor_bzrlib.cfg --make-html
51
 
 
52
48
docfiles = bzr bzrlib
53
49
api-docs:
54
 
        mkdir -p api/epydoc
55
 
        PYTHONPATH=$(PWD) python tools/bzr_epydoc --html -o api/epydoc --docformat 'restructuredtext en' $(docfiles)
 
50
        mkdir -p api/html
 
51
        PYTHONPATH=$(PWD) python tools/bzr_epydoc --html -o api/html --docformat 'restructuredtext en' $(docfiles)
56
52
 
57
53
check-api-docs:
58
54
        PYTHONPATH=$(PWD) python tools/bzr_epydoc --check --docformat 'restructuredtext en' $(docfiles)