From 9c624f5bb676913ea4756b1fc4735c3c7ea6ddea Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Thu, 6 Oct 2016 14:25:21 +0200 Subject: [PATCH] Moving reveal.js and warn on absence --- Doc/Makefile | 2 +- Makefile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Doc/Makefile b/Doc/Makefile index 6c5b5fe16..5a8a7a476 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -62,7 +62,7 @@ ${BUILDROOT}/webhelp/index.html:${BUILDROOT}/${SCRIPTBASENAME}.xml cd ${BUILDROOT};\ ${SAXONCMD} -s:${SCRIPTBASENAME}.xml -xsl:../../ws/Docbook/Extensions/Xsl/docbook2slides.xsl \ callout.unicode=1 highlight.source=1;\ - ln -sf /usr/share/reveal.js Slides;\ + ln -sf ${HOME}/reveal.js Slides;\ /usr/share/xmlmind/bin/xxetool convert ${XSLPARAM} db5.toWebHelp \ ${SCRIPTBASENAME}_html.xml -u webhelp cp -f webhelp.css ${BUILDROOT}/webhelp diff --git a/Makefile b/Makefile index 8e7064ed4..ceddce725 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,9 @@ java avconv K := $(foreach exec,$(EXECUTABLES),\ $(if $(shell which $(exec)),some string,$(error "No $(exec) in PATH))) +REVEALHOME=${HOME}/reveal.js +K := $(if $(shell ls ${REVEALHOME}),some string,$(error "No ${REVEALHOME} found, please execute git clone https://github.com/hakimel/reveal.js))) + DOCMODULES = Sd1 Sda1 Sda2 Tdoc Sdi Persist doc: -- GitLab