~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: John Arbash Meinel
  • Date: 2010-02-04 16:06:36 UTC
  • mfrom: (5007 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5023.
  • Revision ID: john@arbash-meinel.com-20100204160636-xqeuwz8bwt8bbts4
Merge bzr.dev 5007, resolve conflict, update NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006, 2007, 2008, 2009 Canonical Ltd
 
1
# Copyright (C) 2005-2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
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