[use_fmemopen=no]
)
-dnl Documentation tools
-have_openjade="no"
-AC_PATH_PROG([OSPCAT], [ospcat], [none])
-if test "$OSPCAT" != "none"; then
- AC_MSG_CHECKING([for openjade docbook stylesheets])
- dslosfile=`ospcat --public-id="-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN"`
- DSLROOT=`echo $dslosfile | sed -n -e "s/.*SOIBASE='\(@<:@^'@:>@*\)\/catalog'.*/\1/p"`
- # ospcat may spit out an absolute path without an SOIBASE
- if test -z "$DSLROOT"; then
- DSLROOT=`echo $dslosfile | sed -e 's|<OSFILE>\(.*\)/print/docbook.dsl|\1|'`
- fi
- if test -f $DSLROOT/print/docbook.dsl; then
- AC_MSG_RESULT([in $DSLROOT])
- have_openjade="yes"
- else
- AC_MSG_RESULT([not found: PDF documentation will not be built.])
- fi
-fi
-AC_SUBST(DSLROOT)
-
AC_ARG_ENABLE(doc, AS_HELP_STRING([--disable-doc],[Do not build the documentation]),
[ if test x$enableval = xno; then
do_build_doc=no
$(CHUNKED_DOCFILES): stamp-doc-chunked
-manual.pdf: manual.tex
- -if test -f manual.tex; then pdfjadetex manual.tex; fi
-
-manual.tex: stamp-doc-xml
- -if test -n "$(DSLROOT)"; then \
- openjade -t tex -D $(DSLROOT) -d print/docbook.dsl dtds/decls/xml.dcl manual.xml; \
- fi
-
neomutt-syntax.vim: mutt-1.7.0-syntax.vim $(SAMPLE_VIMRC)
( \
sed -e '/vim:/d' -e "/This file covers/s/$$/ and NeoMutt $(VERSION)/" $(srcdir)/mutt-1.7.0-syntax.vim; \