Revision 7142485a Makefile.am

b/Makefile.am
197 197

  
198 198
noinst_PYTHON = \
199 199
	lib/build/__init__.py \
200
	lib/build/sphinx_ext.py
200
	lib/build/sphinx_ext.py \
201
	lib/build/shell_example_lexer.py
201 202

  
202 203
pkgpython_PYTHON = \
203 204
	lib/__init__.py \
......
427 428
# successfully, but we certainly don't want the docs to be rebuilt if
428 429
# it changes
429 430
doc/html/index.html: $(docrst) $(docpng) doc/conf.py configure.ac \
430
	$(RUN_IN_TEMPDIR) lib/build/sphinx_ext.py lib/opcodes.py lib/ht.py \
431
	$(RUN_IN_TEMPDIR) lib/build/sphinx_ext.py \
432
	lib/build/shell_example_lexer.py lib/opcodes.py lib/ht.py \
431 433
	| $(BUILT_PYTHON_SOURCES)
432 434
	@test -n "$(SPHINX)" || \
433 435
	    { echo 'sphinx-build' not found during configure; exit 1; }
......
991 993
	  { echo 'pandoc' not found during configure; exit 1; }
992 994
	$(PANDOC) -f rst -t html -o $@ $<
993 995

  
994
man/%.gen: man/%.rst lib/query.py lib/build/sphinx_ext.py
996
man/%.gen: man/%.rst lib/query.py lib/build/sphinx_ext.py \
997
	lib/build/shell_example_lexer.py
995 998
	PYTHONPATH=. $(RUN_IN_TEMPDIR) $(CURDIR)/$(DOCPP) < $< > $@
996 999

  
997 1000
man/%.7.in man/%.8.in man/%.1.in: man/%.gen man/footer.man

Also available in: Unified diff