~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-06-30 18:28:17 UTC
  • mfrom: (5967.10.2 test-cat)
  • Revision ID: pqm@pqm.ubuntu.com-20110630182817-83a5q9r9rxfkdn8r
(mbp) don't use subprocesses for testing cat (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        set -e
43
43
        # Generate a stream for PQM to watch.
44
44
        -$(RM) -f selftest.log
45
 
        echo `date` ": selftest starts" 1>&2
46
 
        $(PYTHON) -Werror -Wignore::ImportWarning -O ./bzr selftest -Oselftest.timeout=120 \
47
 
          --subunit $(tests) | tee selftest.log
48
 
        echo `date` ": selftest ends" 1>&2
 
45
        $(PYTHON) -Werror -Wignore::ImportWarning -O ./bzr selftest --subunit $(tests) | tee selftest.log
49
46
        # An empty log file should catch errors in the $(PYTHON)
50
47
        # command above (the '|' swallow any errors since 'make'
51
48
        # sees the 'tee' exit code for the whole line
192
189
        cd doc/developers && make htmlhelp
193
190
 
194
191
 
195
 
# Build the texinfo files using Sphinx.
196
 
texinfo-sphinx: $(SPHINX_DEPENDENCIES)
197
 
        cd doc/en && make texinfo
198
 
        cd doc/es && make texinfo
199
 
        cd doc/ru && make texinfo
200
 
        cd doc/ja && make texinfo
201
 
        cd doc/developers && make texinfo
202
 
 
203
192
### Documentation Website ###
204
193
 
205
194
# Where to build the website
440
429
                )
441
430
 
442
431
po/bzr.pot: $(PYFILES) $(DOCFILES)
443
 
        $(PYTHON) ./bzr export-pot --include-duplicates > po/bzr.pot
 
432
        $(PYTHON) ./bzr export-pot > po/bzr.pot
444
433
        echo $(TRANSLATABLE_PYFILES) | xargs \
445
434
          xgettext --package-name "bzr" \
446
435
          --msgid-bugs-address "<bazaar@canonical.com>" \