~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
406
406
 
407
407
### Packaging Targets ###
408
408
 
409
 
.PHONY: dist dist-upload-escudero check-dist-tarball
 
409
.PHONY: dist check-dist-tarball
410
410
 
411
411
# build a distribution source tarball
412
412
#
434
434
        tar Cxz $$tmpdir -f $$tarball && \
435
435
        $(MAKE) -C $$tmpdir/bzr-$$version check && \
436
436
        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