~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Patch Queue Manager
  • Date: 2016-04-21 04:10:52 UTC
  • mfrom: (6616.1.1 fix-en-user-guide)
  • Revision ID: pqm@pqm.ubuntu.com-20160421041052-clcye7ns1qcl2n7w
(richard-wilbur) Ensure build of English use guide always uses English text
 even when user's locale specifies a different language. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2012, 2016, 2017 Canonical Ltd
 
1
# Copyright (C) 2005-2012, 2016 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
454
454
.PHONY: dist check-dist-tarball
455
455
 
456
456
# build a distribution source tarball
 
457
#
 
458
# this method of copying the pyrex generated files is a bit ugly; it would be
 
459
# nicer to generate it from distutils.
457
460
dist: 
458
461
        version=`./bzr version --short` && \
459
462
        echo Building distribution of bzr $$version && \
462
465
        tarball=$$PWD/../bzr-$$version.tar.gz && \
463
466
        $(MAKE) clean && \
464
467
        $(MAKE) && \
465
 
        $(PYTHON) setup.py sdist -d $$PWD/.. && \
466
 
        gpg --detach-sign --armor $$tarball && \
 
468
        bzr export $$expdir && \
 
469
        cp bzrlib/*.c bzrlib/*.h $$expdir/bzrlib/. && \
 
470
        tar cfz $$tarball -C $$expbasedir bzr-$$version && \
 
471
        gpg --detach-sign $$tarball && \
467
472
        rm -rf $$expbasedir
468
473
 
469
474
# run all tests in a previously built tarball