Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis integration, Documentation, Small updates #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
using 'command' instead of 'which' and throw error
AlexanderWillner committed Apr 17, 2014
commit 76985dead7dfc733d88b776cb8542cb6db35f31f
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ clean:
rm -f $(HTML)

checker:
@bin="asciidoc" && which $$bin > /dev/null || echo "ERROR: Please install '$$bin' first."
@bin="source-highlight" && which $$bin > /dev/null || echo "ERROR: Please install '$$bin' first."
@bin="asciidoc" && command -v $$bin > /dev/null || (echo "ERROR: Please install '$$bin' first." && exit 1)
@bin="source-highlight" && command -v $$bin > /dev/null || (echo "ERROR: Please install '$$bin' first." && exit 1)

%.html: %.adoc
asciidoc -a theme=compact -a data-uri -a icons -a toc2 $(<F)