/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-12-10 02:08:04 UTC
  • mfrom: (3096.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20071210020804-xbbzol1ndjmec105
Fix Makefiles rules for doc generation (Ian Clatworthy, #175207)

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
       doc/default.css \
94
94
       doc/en/quick-reference/quick-start-summary.svg \
95
95
       doc/en/quick-reference/quick-start-summary.png \
 
96
       doc/en/quick-reference/quick-start-summary.pdf \
96
97
       $(wildcard doc/en/user-guide/images/*.png)
97
98
htm_files := $(patsubst %.txt, %.html, $(txt_files)) 
98
99
dev_txt_files := $(wildcard $(addsuffix /*.txt, doc/developers))
99
100
dev_htm_files := $(patsubst %.txt, %.html, $(dev_txt_files)) 
100
101
 
 
102
doc/en/user-guide/index.html: $(wildcard $(addsuffix /*.txt, doc/en/user-guide)) 
 
103
        $(rst2html) --stylesheet=../../default.css $< $@
 
104
 
101
105
doc/developers/%.html: doc/developers/%.txt
102
106
        $(rst2html) --stylesheet=../default.css $< $@
103
107
 
107
111
%.html: %.txt
108
112
        $(rst2html) --stylesheet=../../default.css $< $@
109
113
 
110
 
USER_GUIDE_DEPENDENCIES = $(wildcard $(addsuffix /*.txt, doc/en/user-guide)) 
111
 
 
112
114
MAN_DEPENDENCIES = bzrlib/builtins.py \
113
115
                 bzrlib/bundle/commands.py \
114
116
                 bzrlib/conflicts.py \
 
117
                 bzrlib/help_topics.py \
115
118
                 bzrlib/sign_my_commits.py \
116
119
                 generate_docs.py \
117
120
                 tools/doc_generate/__init__.py \
118
121
                 tools/doc_generate/autodoc_man.py \
119
122
                 tools/doc_generate/autodoc_rstx.py
120
123
 
121
 
doc/en/user-guide/index.txt: $(USER_GUIDE_DEPENDENCIES)
122
 
 
123
124
doc/en/user-reference/bzr_man.txt: $(MAN_DEPENDENCIES)
124
125
        $(PYTHON) generate_docs.py -o $@ rstx
125
126