Revision 700bb843 Makefile.am

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

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

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

  
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

  
328 318
doc/examples/%: doc/examples/%.in stamp-directories \
329 319
		$(REPLACE_VARS_SED)
330 320
	sed -f $(REPLACE_VARS_SED) < $< > $@

Also available in: Unified diff