~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Ian Clatworthy
  • Date: 2009-09-08 14:58:49 UTC
  • mto: (4634.37.2 prepare-2.0)
  • mto: This revision was merged to the branch mainline in revision 4689.
  • Revision ID: ian.clatworthy@canonical.com-20090908145849-8bd3wpb9c6cm7qho
First cut at a smart packaging script for the doc website

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        cd doc/ru && make htmlhelp
125
125
        cd doc/developers && make htmlhelp
126
126
 
 
127
 
127
128
MAN_DEPENDENCIES = bzrlib/builtins.py \
128
129
        $(wildcard bzrlib/*.py) \
129
130
        $(wildcard bzrlib/*/*.py) \
148
149
        @dot -Tpng $< -o$@ || echo "Dot not installed; skipping generation of $@"
149
150
 
150
151
 
 
152
### Documentation Website ###
 
153
 
 
154
# Where to build the website
 
155
DOC_WEBSITE_BUILD := html_docs
 
156
 
 
157
# Build and package docs into a website, complete with downloads.
 
158
doc-website: html-docs pdf-docs
 
159
        $(PYTHON) tools/package_docs.py doc/en $(DOC_WEBSITE_BUILD)
 
160
        $(PYTHON) tools/package_docs.py doc/es $(DOC_WEBSITE_BUILD)
 
161
        $(PYTHON) tools/package_docs.py doc/ru $(DOC_WEBSITE_BUILD)
 
162
        $(PYTHON) tools/package_docs.py doc/developers $(DOC_WEBSITE_BUILD)
 
163
 
 
164
 
151
165
### Windows Support ###
152
166
 
153
167
# make all the installers completely from scratch, using zc.buildout