~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Robert Collins
  • Date: 2006-06-26 16:23:10 UTC
  • mfrom: (1780.2.1 misc-fixen)
  • mto: This revision was merged to the branch mainline in revision 1815.
  • Revision ID: robertc@robertcollins.net-20060626162310-98f5b55b8cc19d46
(robertc) Misc minor typos and the like.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
all: executables
2
 
 
3
 
executables:
4
 
        chmod u+x ./bzr
5
 
        chmod u+x ./setup.py
 
1
all:
6
2
 
7
3
check:
8
 
        ./bzr selftest
9
 
 
10
 
clean: executables
 
4
        ./bzr selftest -v $(tests)
 
5
        @echo "Running all tests with no locale."
 
6
        LC_CTYPE= LANG=C LC_ALL= ./bzr selftest -v $(tests)
 
7
 
 
8
check-msgeditor:
 
9
        ./bzr --no-plugins selftest -v msgeditor
 
10
 
 
11
# Run Python style checker (apt-get install pyflakes)
 
12
pyflakes:
 
13
        pyflakes bzrlib
 
14
 
 
15
pyflakes-nounused:
 
16
        # There are many of these warnings at the moment and they're not a
 
17
        # high priority to fix
 
18
        pyflakes bzrlib | grep -v ' imported but unused'
 
19
 
 
20
clean:
11
21
        ./setup.py clean
 
22
        -find . -name "*.pyc" -o -name "*.pyo" | xargs rm -f
 
23
        rm -rf test????.tmp
12
24
 
13
25
.PHONY: all
14
26
 
17
29
tag_files=./bzr ./bzrlib/*py ./bzrlib/selftest/*.py
18
30
TAGS: $(tag_files)
19
31
        ctags-exuberant -e $(tag_files)
 
32
 
 
33
tutorial.html: tutorial.txt
 
34
        rest2html tutorial.txt > tutorial.html