~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

add a clean target

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
all: 
 
1
all: executables
 
2
 
 
3
executables:
 
4
        chmod u+x ./bzr
 
5
        chmod u+x ./setup.py
2
6
 
3
7
check:
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
 
clean: 
 
8
        ./bzr selftest
 
9
 
 
10
clean: executables
12
11
        ./setup.py clean
13
 
        -find . -name "*.pyc" -o -name "*.pyo" | xargs rm -f
14
 
        rm -rf test????.tmp
15
12
 
16
13
.PHONY: all
17
14
 
20
17
tag_files=./bzr ./bzrlib/*py ./bzrlib/selftest/*.py
21
18
TAGS: $(tag_files)
22
19
        ctags-exuberant -e $(tag_files)
23
 
 
24
 
tutorial.html: tutorial.txt
25
 
        rest2html tutorial.txt > tutorial.html