Add pandoc to makefile (#51)
* Add check for pandoc * Generate the man page from reStructuredText * Install man page after generation by pandoc Closes: https://github.com/scsitape/stenc/issues/44 Co-authored-by: Paweł Marciniak <sunwire+git@gmail.com>
This commit is contained in:
@@ -104,6 +104,9 @@ else
|
||||
fi
|
||||
|
||||
|
||||
AC_CHECK_PROG(PANDOC, [pandoc], [yes])
|
||||
AM_CONDITIONAL([FOUND_PANDOC], [test "x$PANDOC" = xyes])
|
||||
AM_COND_IF([FOUND_PANDOC],,[AC_MSG_ERROR([required program 'pandoc' not found.])])
|
||||
|
||||
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile tests/Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user