~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-12 09:32:42 UTC
  • mfrom: (2405.2.2 HACKING-portability)
  • Revision ID: pqm@pqm.ubuntu.com-20070412093242-8r2pilxsjtxs46dj
(Andrew Bennetts) Add a brief Portability section to HACKING, build HACKING.htm from 'make docs'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
pretty_files: $(patsubst doc/%.txt, $(PRETTYDIR)/%.htm, $(txt_files))
54
54
 
55
 
doc/%.htm: doc/%.txt
 
55
doc/HACKING.htm: HACKING
 
56
        python tools/rst2html.py --link-stylesheet --stylesheet=default.css HACKING doc/HACKING.htm
 
57
 
 
58
doc/%.htm: doc/%.txt 
56
59
        python tools/rst2html.py --link-stylesheet --stylesheet=default.css doc/$*.txt doc/$*.htm
57
60
 
58
61
$(PRETTYDIR)/%.htm: pretty_docs doc/%.txt
68
71
                 tools/doc_generate/autodoc_rstx.py
69
72
        python generate_docs.py -o doc/bzr_man.txt rstx
70
73
 
71
 
docs: $(htm_files)
 
74
docs: $(htm_files) doc/HACKING.htm
72
75
 
73
76
copy-docs: docs
74
77
        python tools/win32/ostools.py copytodir $(htm_files) doc/default.css NEWS README  win32_bzr.exe/doc