view gen_readme.sh @ 2648:e083bab50112

Fix #532: Remove Changelog.html and Readme.html from Makefile.am https://github.com/BestImageViewer/geeqie/issues/532 Wrong exit codes
author Colin Clark <colin.clark@cclark.uk>
date Sat, 28 Oct 2017 18:17:06 +0100
parents 37235424378e
children
line wrap: on
line source

#!/bin/bash

# Script to create README.html file,

[ ! -e "README.md" ] && exit 1
[ ! -x "$(command -v markdown)" ] && exit 0

[ -e README.html ] && mv -f README.html README.html.bak

markdown README.md > README.html

exit 0