From b10392505f0909918d8d3206b5d9ec16ea1ba567 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 2 Jun 2010 21:12:09 +0200 Subject: BSD make compatibility for asciidoc. BSD make supports $< only in transformation rules... use them, declare automake SUFFIXES. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 910e79d3..0e597d05 100644 --- a/Makefile.am +++ b/Makefile.am @@ -231,7 +231,8 @@ import-translations: rsync -Lrtvz translationproject.org::tp/latest/fetchmail/ $(top_srcdir)/po cd $(top_builddir)/po && $(MAKE) update-po -Mailbox-Names-UTF7.html: Mailbox-Names-UTF7.txt +SUFFIXES = .html .txt +.txt.html: asciidoc --unsafe -a toc -a data-uri -o $@ $< || { rm -f $@ ; exit 1 ; } # The following sets edit modes for GNU EMACS. -- cgit v1.2.3