Revision de8eea3e Makefile.am

b/Makefile.am
365 365
	test/mocks.py \
366 366
	$(dist_TESTS) \
367 367
	$(TEST_FILES) \
368
	man/footer.sgml \
368
	man/footer.sgml man/footer.rst \
369 369
	$(mansgml) \
370 370
	$(maninput) \
371 371
	qa/ganeti-qa.py \
......
403 403
manhtml = $(patsubst %.sgml,%.html,$(mansgml))
404 404
maninput = \
405 405
	$(patsubst %.7,%.7.in,$(patsubst %.8,%.8.in,$(man_MANS))) \
406
	$(patsubst %.html,%.html.in,$(manhtml))
406
	$(patsubst %.html,%.html.in,$(manhtml)) \
407
	man/footer.man
407 408

  
408 409
TEST_FILES = \
409 410
	test/data/bdev-drbd-8.0.txt \
......
494 495
	$(noinst_PYTHON)
495 496

  
496 497
srclink_files = \
497
	man/footer.sgml \
498
	man/footer.sgml man/footer.rst \
498 499
	test/check-cert-expired_unittest.bash \
499 500
	test/daemon-util_unittest.bash \
500 501
	test/ganeti-cleaner_unittest.bash \
......
540 541
	@test -n "$(DOT)" || { echo 'dot' not found during configure; exit 1; }
541 542
	$(DOT) -Tpng -o $@ $<
542 543

  
544
man/footer.man: man/footer.rst
545
	@test -n "$(PANDOC)" || \
546
	  { echo 'pandoc' not found during configure; exit 1; }
547
	$(PANDOC) -f rst -t man -o $@ $<
548

  
543 549
man/%.7.in man/%.8.in: man/%.sgml man/footer.sgml $(DOCBOOK_WRAPPER)
544 550
	@test -n "$(DOCBOOK2MAN)" || \
545 551
	  { echo 'docbook2man' not found during configure; exit 1; }

Also available in: Unified diff