/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
# Note that at present this gives many false warnings, because it doesn't
59
59
# know about identifiers loaded through lazy_import.
60
60
pyflakes:
61
 
        pyflakes brzlib
 
61
        pyflakes breezy
62
62
 
63
63
pyflakes-nounused:
64
64
        # There are many of these warnings at the moment and they're not a
65
65
        # high priority to fix
66
 
        pyflakes brzlib | grep -v ' imported but unused'
 
66
        pyflakes breezy | grep -v ' imported but unused'
67
67
 
68
68
clean:
69
69
        $(PYTHON) setup.py clean
71
71
 
72
72
realclean: clean
73
73
        # Remove files which are autogenerated but included by the tarball.
74
 
        rm -f brzlib/*_pyx.c
75
 
        rm -f brzlib/_simple_set_pyx.h brzlib/_simple_set_pyx_api.h
 
74
        rm -f breezy/*_pyx.c
 
75
        rm -f breezy/_simple_set_pyx.h breezy/_simple_set_pyx_api.h
76
76
 
77
77
# Build API documentation
78
 
docfiles = brz brzlib
 
78
docfiles = brz breezy
79
79
api-docs:
80
80
        mkdir -p api/html
81
81
        pydoctor --make-html --docformat='restructuredtext' --html-output=api/html $(docfiles)
82
82
 
83
83
# build tags for emacs and vim
84
84
TAGS:
85
 
        ctags -R -e brzlib
 
85
        ctags -R -e breezy
86
86
 
87
87
tags:
88
 
        ctags -R brzlib
 
88
        ctags -R breezy
89
89
 
90
90
# these are treated as phony so they'll always be rebuilt - it's pretty quick
91
91
.PHONY: TAGS tags
105
105
 
106
106
### Man-page Documentation ###
107
107
 
108
 
MAN_DEPENDENCIES = brzlib/builtins.py \
109
 
        $(wildcard brzlib/*.py) \
110
 
        $(wildcard brzlib/*/*.py) \
 
108
MAN_DEPENDENCIES = breezy/builtins.py \
 
109
        $(wildcard breezy/*.py) \
 
110
        $(wildcard breezy/*/*.py) \
111
111
        tools/generate_docs.py \
112
 
        $(wildcard $(addsuffix /*.txt, brzlib/help_topics/en)) 
 
112
        $(wildcard $(addsuffix /*.txt, breezy/help_topics/en)) 
113
113
 
114
114
MAN_PAGES = man1/brz.1
115
115
man1/brz.1: $(MAN_DEPENDENCIES)
388
388
# make brz.exe for win32 with py2exe
389
389
exe:
390
390
        @echo *** Make brz.exe
391
 
        $(PYTHON) tools/win32/ostools.py remove brzlib/*.pyd
 
391
        $(PYTHON) tools/win32/ostools.py remove breezy/*.pyd
392
392
        $(PYTHON) setup.py build_ext -i -f $(PYTHON_BUILDFLAGS)
393
393
        $(PYTHON) setup.py py2exe > py2exe.log
394
394
        $(PYTHON) tools/win32/ostools.py copytodir tools/win32/start_brz.bat win32_brz.exe
434
434
.PHONY: update-pot po/brz.pot
435
435
update-pot: po/brz.pot
436
436
 
437
 
TRANSLATABLE_PYFILES:=$(shell find brzlib -name '*.py' \
438
 
                | grep -v 'brzlib/tests/' \
439
 
                | grep -v 'brzlib/doc' \
 
437
TRANSLATABLE_PYFILES:=$(shell find breezy -name '*.py' \
 
438
                | grep -v 'breezy/tests/' \
 
439
                | grep -v 'breezy/doc' \
440
440
                )
441
441
 
442
442
po/brz.pot: $(PYFILES) $(DOCFILES)