~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Aaron Bentley
  • Date: 2007-09-17 12:46:56 UTC
  • mfrom: (2825 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2826.
  • Revision ID: abentley@panoramicfeedback.com-20070917124656-j3hhxhx9igy11mfc
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        @echo "Running all tests with no locale."
34
34
        LC_CTYPE= LANG=C LC_ALL= ./bzr selftest -1v $(tests) 2>&1 | sed -e 's/^/[ascii] /'
35
35
 
36
 
check-msgeditor:
37
 
        ./bzr --no-plugins selftest -v msgeditor
38
 
 
39
36
# Run Python style checker (apt-get install pyflakes)
 
37
#
 
38
# Note that at present this gives many false warnings, because it doesn't
 
39
# know about identifiers loaded through lazy_import.
40
40
pyflakes:
41
41
        pyflakes bzrlib
42
42
 
58
58
check-api-docs:
59
59
        PYTHONPATH=$(PWD) python tools/bzr_epydoc --check --docformat 'restructuredtext en' $(docfiles)
60
60
 
61
 
# build emacs cross-reference
62
 
tag_files=./bzr ./bzrlib/*py ./bzrlib/selftest/*.py
63
 
TAGS: $(tag_files)
64
 
        ctags-exuberant -e $(tag_files)
65
 
 
 
61
# build tags for emacs and vim
 
62
TAGS:
 
63
        ctags -R -e bzrlib
 
64
 
 
65
tags:
 
66
        ctags -R bzrlib
 
67
 
 
68
# these are treated as phony so they'll always be rebuilt - it's pretty quick
 
69
.PHONY: TAGS tags
66
70
 
67
71
### Documentation ###
68
72