~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Ian Clatworthy
  • Date: 2009-09-08 15:40:44 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-20090908154044-u1h7x3rd1komqean
Remove Makefile duplication

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
        cd doc/ru && make clean
94
94
        cd doc/developers && make clean
95
95
 
96
 
DOC_DEPENDENCIES = doc/en/release-notes/NEWS.txt doc/en/user-reference/bzr_man.txt
 
96
DOC_DEPENDENCIES = doc/en/release-notes/NEWS.txt doc/en/user-reference/bzr_man.txt \
 
97
        doc/es/Makefile \
 
98
        doc/es/make.bat \
 
99
        doc/ru/Makefile \
 
100
        doc/ru/make.bat \
 
101
        doc/developers/Makefile \
 
102
        doc/developers/make.bat
 
103
 
 
104
doc/%/Makefile: doc/en/Makefile
 
105
        $(PYTHON) -c "import shutil; shutil.copyfile('$<', '$@')"
 
106
 
 
107
doc/%/make.bat: doc/en/make.bat
 
108
        $(PYTHON) -c "import shutil; shutil.copyfile('$<', '$@')"
97
109
 
98
110
# Build the html docs. Requires Sphinx 0.6 or later.
99
111
html-docs: $(DOC_DEPENDENCIES)
124
136
        cd doc/ru && make htmlhelp
125
137
        cd doc/developers && make htmlhelp
126
138
 
127
 
 
128
139
MAN_DEPENDENCIES = bzrlib/builtins.py \
129
140
        $(wildcard bzrlib/*.py) \
130
141
        $(wildcard bzrlib/*/*.py) \
142
153
        $(PYTHON) tools/generate_docs.py -o $@ man
143
154
 
144
155
# build a png of our performance task list
145
 
146
156
# this is no longer built by default; you can build it if you want to look at it
147
157
doc/developers/performance.png: doc/developers/performance.dot
148
158
        @echo Generating $@