From a6aa82cdfe368a4e65fbac5bdc64bd98747b29b8 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Mon, 16 Aug 2004 14:21:57 +0000 Subject: detect and use rest2html --- docs/lasso-book/Makefile.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/lasso-book/Makefile.am b/docs/lasso-book/Makefile.am index f31e1b78..18fd1ade 100644 --- a/docs/lasso-book/Makefile.am +++ b/docs/lasso-book/Makefile.am @@ -1,3 +1,13 @@ + +if HAVE_REST2HTML +doc_DATA = writing-a-c-sp.html +else +doc_DATA = writing-a-c-sp.txt +endif + +writing-a-c-sp.html: writing-a-c-sp.txt + $(REST2HTML) writing-a-c-sp.txt > writing-a-c-sp.html + EXTRA_DIST = \ - lasso-book.txt + lasso-book.txt writing-a-c-sp.txt -- cgit