~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Robert Collins
  • Date: 2010-04-08 04:34:03 UTC
  • mfrom: (5138 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5139.
  • Revision ID: robertc@robertcollins.net-20100408043403-56z0d07vdqrx7f3t
Update bugfix for 528114 to trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
check: docs check-nodocs
40
40
 
41
41
check-nodocs: extensions
42
 
        $(PYTHON) -Werror -O ./bzr selftest -1v $(tests)
 
42
        # Generate a stream for PQM to watch.
 
43
        $(PYTHON) -Werror -O ./bzr selftest --subunit $(tests) | tee selftest.log
 
44
        # Check that there were no errors reported.
 
45
        subunit-stats < selftest.log
43
46
 
44
47
# Run Python style checker (apt-get install pyflakes)
45
48
#
406
409
 
407
410
### Packaging Targets ###
408
411
 
409
 
.PHONY: dist dist-upload-escudero check-dist-tarball
 
412
.PHONY: dist check-dist-tarball
410
413
 
411
414
# build a distribution source tarball
412
415
#
434
437
        tar Cxz $$tmpdir -f $$tarball && \
435
438
        $(MAKE) -C $$tmpdir/bzr-$$version check && \
436
439
        rm -rf $$tmpdir
437
 
 
438
 
 
439
 
# upload previously built tarball to the download directory on bazaar-vcs.org,
440
 
# and verify that it can be downloaded ok.
441
 
dist-upload-escudero:
442
 
        version=`./bzr version --short` && \
443
 
        tarball=../bzr-$$version.tar.gz && \
444
 
        scp $$tarball $$tarball.sig \
445
 
            escudero.ubuntu.com:/srv/bazaar.canonical.com/www/releases/src \
446
 
                && \
447
 
        echo verifying over http... && \
448
 
        curl http://bazaar-vcs.org/releases/src/bzr-$$version.tar.gz \
449
 
                | diff -s - $$tarball && \
450
 
        curl http://bazaar-vcs.org/releases/src/bzr-$$version.tar.gz.sig \
451
 
                | diff -s - $$tarball.sig