From: Colin Clark Date: Thu, 2 Nov 2017 11:04:25 +0000 (+0000) Subject: Fix #533: fails to make install if markdown not install X-Git-Tag: v1.4~39 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=605297a690d74b293e1d3ae800d95ffcc6b2ea2e Fix #533: fails to make install if markdown not install https://github.com/BestImageViewer/geeqie/issues/533 --- diff --git a/Makefile.am b/Makefile.am index 5f21e2f1..4fc29e32 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,12 @@ DIST_SUBDIRS = src po doc plugins man_MANS = geeqie.1 readmedir = @readmedir@ + +if HAVE_MARKDOWN readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS README.html ChangeLog.html +else +readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS ChangeLog.html +endif desktopdir = $(datadir)/applications desktop_in_files = geeqie.desktop.in diff --git a/configure.in b/configure.in index f9e76b98..a80cb873 100644 --- a/configure.in +++ b/configure.in @@ -514,6 +514,11 @@ AM_CONDITIONAL(HAVE_LUA, [test "x$HAVE_LUA" = xyes]) AC_SUBST(LUA_CFLAGS) AC_SUBST(LUA_LIBS) +# Markdown support +# ---------------------------------------------------------------------- + +AM_CONDITIONAL(HAVE_MARKDOWN, [ "$(command -v markdown)" ]) + # ---------------------------------------------------------------------- AH_TOP([