Revision 5a19bd35 Makefile.am

b/Makefile.am
447 447
	man/gnt-instance.8 \
448 448
	man/gnt-job.8 \
449 449
	man/gnt-node.8 \
450
	man/gnt-os.8
450
	man/gnt-os.8 \
451
	man/hail.1 \
452
	man/hbal.1 \
453
	man/hscan.1 \
454
	man/hspace.1
451 455

  
452
manrst = $(patsubst %.7,%.rst,$(patsubst %.8,%.rst,$(man_MANS)))
456
manrst = $(patsubst %.1,%.rst,$(patsubst %.7,%.rst,$(patsubst %.8,%.rst,$(man_MANS))))
453 457
manhtml = $(patsubst %.rst,%.html,$(manrst))
454 458
mangen = $(patsubst %.rst,%.gen,$(manrst))
455 459
maninput = \
456
	$(patsubst %.7,%.7.in,$(patsubst %.8,%.8.in,$(man_MANS))) \
460
	$(patsubst %.1,%.1.in,$(patsubst %.7,%.7.in,$(patsubst %.8,%.8.in,$(man_MANS)))) \
457 461
	$(patsubst %.html,%.html.in,$(manhtml)) \
458 462
	man/footer.man man/footer.html $(mangen)
459 463

  
......
635 639
man/%.gen: man/%.rst lib/query.py lib/build/sphinx_ext.py
636 640
	PYTHONPATH=. $(RUN_IN_TEMPDIR) $(CURDIR)/$(DOCPP) < $< > $@
637 641

  
638
man/%.7.in man/%.8.in: man/%.gen man/footer.man
642
man/%.7.in man/%.8.in man/%.1.in: man/%.gen man/footer.man
639 643
	@test -n "$(PANDOC)" || \
640 644
	  { echo 'pandoc' not found during configure; exit 1; }
641 645
	set -o pipefail ; \
......
650 654
	$(PANDOC) -s -f rst -t html -A man/footer.html $< | \
651 655
	  sed -e 's/\\@/@/g' > $@
652 656

  
657
man/%.1: man/%.1.in $(REPLACE_VARS_SED)
658
	sed -f $(REPLACE_VARS_SED) < $< > $@
659

  
653 660
man/%.7: man/%.7.in $(REPLACE_VARS_SED)
654 661
	sed -f $(REPLACE_VARS_SED) < $< > $@
655 662

  

Also available in: Unified diff