210
210
.PHONY: dist dist-upload-escudero check-dist-tarball
214
214
# this method of copying the pyrex generated files is a bit ugly; it would be
215
215
# nicer to generate it from distutils.
219
217
version=`./bzr version --short` && \
220
218
echo Building distribution of bzr $$version && \
221
219
expbasedir=`mktemp -t -d tmp_bzr_dist.XXXXXXXXXX` && \
222
220
expdir=$$expbasedir/bzr-$$version && \
223
221
tarball=$$PWD/../bzr-$$version.tar.gz && \
227
226
cp bzrlib/*.c $$expdir/bzrlib/. && \
228
227
tar cfz $$tarball -C $$expbasedir bzr-$$version && \
229
229
gpg --detach-sign $$tarball && \
233
233
# run all tests in a previously built tarball