diff options
Diffstat (limited to 'doc/clients/Makefile.am')
-rw-r--r-- | doc/clients/Makefile.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/clients/Makefile.am b/doc/clients/Makefile.am index 55de16bdc..8f7b55dcb 100644 --- a/doc/clients/Makefile.am +++ b/doc/clients/Makefile.am @@ -111,13 +111,15 @@ accerso.html : header.html.part footer.html.part appareo.html : header.html.part footer.html.part { cat header.html.part && { \ - if test -x $(top_builddir)/src/clients/appareo/man-appareo ; then \ - $(top_builddir)/src/clients/appareo/man-appareo --html ; \ + if test -f $(top_builddir)/src/clients/appareo/appareo.html-man-fragment ; then \ + cat $(top_builddir)/src/clients/appareo/appareo.html-man-fragment ; \ + elif test -f $(top_srcdir)/src/clients/appareo/appareo.html-man-fragment ; then \ + cat $(top_srcdir)/src/clients/appareo/appareo.html-man-fragment ; \ else \ echo "<h1>appareo</h1>"; \ echo "<p>Sorry, documentation was generated without support for the appareo client.</p>" ; \ - fi ; } && \ - cat footer.html.part ; } > $@ + fi ; } \ + && cat footer.html.part ; } > $@ cave.html : header.html.part footer.html.part { cat header.html.part && { \ |