~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Martin Pool
  • Date: 2009-12-10 00:13:16 UTC
  • mto: This revision was merged to the branch mainline in revision 4884.
  • Revision ID: mbp@sourcefrog.net-20091210001316-w1l2jtek6v8iyg49
Mention GNU project in --version

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
 
200
200
# translate txt docs to html
201
201
derived_txt_files = \
 
202
        doc/en/user-reference/bzr_man.txt \
202
203
        doc/en/release-notes/NEWS.txt
203
204
txt_all = \
204
205
        doc/en/tutorials/tutorial.txt \
295
296
%.html: %.txt
296
297
        $(rst2html) --stylesheet=../../default.css $< $@
297
298
 
 
299
doc/en/user-reference/bzr_man.txt: $(MAN_DEPENDENCIES)
 
300
        $(PYTHON) tools/generate_docs.py -o $@ rstx
 
301
 
298
302
doc/en/release-notes/NEWS.txt: NEWS
299
303
        $(PYTHON) -c "import shutil; shutil.copyfile('$<', '$@')"
300
304
 
406
410
 
407
411
### Packaging Targets ###
408
412
 
409
 
.PHONY: dist check-dist-tarball
 
413
.PHONY: dist dist-upload-escudero check-dist-tarball
410
414
 
411
415
# build a distribution source tarball
412
416
#
434
438
        tar Cxz $$tmpdir -f $$tarball && \
435
439
        $(MAKE) -C $$tmpdir/bzr-$$version check && \
436
440
        rm -rf $$tmpdir
 
441
 
 
442
 
 
443
# upload previously built tarball to the download directory on bazaar-vcs.org,
 
444
# and verify that it can be downloaded ok.
 
445
dist-upload-escudero:
 
446
        version=`./bzr version --short` && \
 
447
        tarball=../bzr-$$version.tar.gz && \
 
448
        scp $$tarball $$tarball.sig \
 
449
            escudero.ubuntu.com:/srv/bazaar.canonical.com/www/releases/src \
 
450
                && \
 
451
        echo verifying over http... && \
 
452
        curl http://bazaar-vcs.org/releases/src/bzr-$$version.tar.gz \
 
453
                | diff -s - $$tarball && \
 
454
        curl http://bazaar-vcs.org/releases/src/bzr-$$version.tar.gz.sig \
 
455
                | diff -s - $$tarball.sig