Revision 9c45babb Makefile.am

b/Makefile.am
919 919
	@test -n "$(PANDOC)" || \
920 920
	  { echo 'pandoc' not found during configure; exit 1; }
921 921
	set -o pipefail ; \
922
	trap 'echo auto-removing $@; rm $@' EXIT; \
922 923
	$(PANDOC) -s -f rst -t man -A man/footer.man $< | \
923
	  sed -e 's/\\@/@/g' > $@
924
	if test -n "$(MAN_HAS_WARNINGS)"; then $(CHECK_MAN) $@ || \
925
	  { rm -f "$@"; exit 1; } ; fi
924
	  sed -e 's/\\@/@/g' > $@; \
925
	if test -n "$(MAN_HAS_WARNINGS)"; then $(CHECK_MAN) $@; fi; \
926
	trap - EXIT
927

  
926 928

  
927 929
man/%.html.in: man/%.gen man/footer.html
928 930
	@test -n "$(PANDOC)" || \

Also available in: Unified diff