Skip to content

Commit

Permalink
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Bennetts committed Oct 8, 2010
1 parent 0cca971 commit b4e8d21
Show file tree
Hide file tree
Showing 45 changed files with 14,360 additions and 13,986 deletions.
2 changes: 1 addition & 1 deletion .bzrignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bzr.1
./doc/**/*.html
./doc/developers/performance.png
./doc/en/user-reference/*.txt
./doc/en/release-notes/*.txt
./doc/en/release-notes/index.txt
BRANCH-INFO
# setup.py working directory
./build
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,13 @@ SPHINX_DEPENDENCIES = \
doc/developers/Makefile \
doc/developers/make.bat

NEWS_FILES = $(wildcard doc/en/release-notes/bzr-*.txt)

doc/en/user-reference/index.txt: $(MAN_DEPENDENCIES)
$(PYTHON) tools/generate_docs.py -o $@ rstx

doc/en/release-notes/index.txt: NEWS tools/generate_release_notes.py
$(PYTHON) tools/generate_release_notes.py NEWS $@
doc/en/release-notes/index.txt: $(NEWS_FILES) tools/generate_release_notes.py
$(PYTHON) tools/generate_release_notes.py $@ $(NEWS_FILES)

doc/%/Makefile: doc/en/Makefile
$(PYTHON) -c "import shutil; shutil.copyfile('$<', '$@')"
Expand Down
Loading

0 comments on commit b4e8d21

Please sign in to comment.