Revision 350ecfec

b/.gitignore
39 39
/doc/api
40 40
/doc/build
41 41
/doc/html
42
/doc/news.rst
42 43
/doc/*.in
43 44
/doc/*.png
44 45

  
b/Makefile.am
54 54
	autotools/replace_vars.sed \
55 55
	daemons/ganeti-cleaner \
56 56
	devel/upload \
57
	doc/news.rst \
57 58
	doc/examples/bash_completion \
58 59
	doc/examples/ganeti.initd \
59 60
	doc/examples/ganeti.cron \
......
73 74
BUILT_SOURCES = \
74 75
	ganeti \
75 76
	srclinks \
77
	doc/news.rst \
76 78
	lib/_autoconf.py
77 79

  
78 80
nodist_pkgpython_PYTHON = \
......
148 150
	doc/rapi.rst \
149 151
	doc/security.rst
150 152

  
151
doc/html: $(docrst) $(docpng) doc/conf.py configure.ac
153
doc/html: $(docrst) doc/news.rst $(docpng) doc/conf.py configure.ac
152 154
	@test -n "$(SPHINX)" || \
153 155
	    { echo 'sphinx-build' not found during configure; exit 1; }
154 156
	mkdir -p doc/build/doctrees
......
315 317
	sed -f $(REPLACE_VARS_SED) < $< > $@
316 318
	chmod +x $@
317 319

  
320
doc/news.rst: NEWS
321
	set -e; \
322
	{ echo '.. This file is automatically updated at build time from $<.'; \
323
	  echo '.. Do not edit.'; \
324
		echo; \
325
	  cat $<; \
326
	} > $@
327

  
318 328
doc/examples/%: doc/examples/%.in stamp-directories \
319 329
		$(REPLACE_VARS_SED)
320 330
	sed -f $(REPLACE_VARS_SED) < $< > $@
b/doc/index.rst
19 19
   iallocator.rst
20 20
   rapi.rst
21 21
   devnotes.rst
22
   news.rst
22 23
   glossary.rst
23 24

  
24 25
Also see the :ref:`search`.

Also available in: Unified diff