From 180475c781676c27f9c73720e028bd0306d9846e Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Mon, 10 Jul 2017 10:34:52 +0200
Subject: [PATCH] Warning on absent SCRIPTBASENAME variable.

---
 ws/Docbook/Preprocess/make.rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ws/Docbook/Preprocess/make.rules b/ws/Docbook/Preprocess/make.rules
index f7cd82dc1..b7c34d9f8 100644
--- a/ws/Docbook/Preprocess/make.rules
+++ b/ws/Docbook/Preprocess/make.rules
@@ -1,3 +1,7 @@
+ifndef SCRIPTBASENAME
+$(error SCRIPTBASENAME must be defined to your root documents basename)
+endif
+
 SHELL = /bin/bash
 DIR := ${CURDIR}
 numCores=$(shell nproc --all)
-- 
GitLab