~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-04 20:44:14 UTC
  • mfrom: (5807.2.2 inventory-tree-tests)
  • Revision ID: pqm@pqm.ubuntu.com-20110504204414-j893hspmx3k1rki4
(jelmer) Skip per_tree tests that are InventoryTree-specific if they're run
 against non-inventory trees. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
docfiles = bzr bzrlib
76
76
api-docs:
77
77
        mkdir -p api/html
78
 
        pydoctor --make-html --docformat='restructuredtext' --html-output=api/html $(docfiles)
 
78
        PYTHONPATH=$(PWD) $(PYTHON) tools/bzr_epydoc --html -o api/html --docformat 'restructuredtext en' $(docfiles)
 
79
check-api-docs:
 
80
        PYTHONPATH=$(PWD) $(PYTHON) tools/bzr_epydoc --check --docformat 'restructuredtext en' $(docfiles)
79
81
 
80
82
# build tags for emacs and vim
81
83
TAGS:
418
420
        $(PYTHON) tools/win32/ostools.py remove dist
419
421
 
420
422
 
421
 
# i18n targets
422
 
 
423
 
.PHONY: update-pot po/bzr.pot
424
 
update-pot: po/bzr.pot
425
 
 
426
 
TRANSLATABLE_PYFILES:=$(shell find bzrlib -name '*.py' \
427
 
                | grep -v 'bzrlib/tests/' \
428
 
                | grep -v 'bzrlib/doc' \
429
 
                )
430
 
 
431
 
po/bzr.pot: $(PYFILES) $(DOCFILES)
432
 
        $(PYTHON) ./bzr export-pot > po/bzr.pot
433
 
        echo $(TRANSLATABLE_PYFILES) | xargs \
434
 
          xgettext --package-name "bzr" \
435
 
          --msgid-bugs-address "<bazaar@canonical.com>" \
436
 
          --copyright-holder "Canonical" \
437
 
          --from-code ISO-8859-1 --join --sort-by-file --add-comments=i18n: \
438
 
          -d bzr -p po -o bzr.pot
439
 
 
440
 
 
441
423
### Packaging Targets ###
442
424
 
443
425
.PHONY: dist check-dist-tarball