From 1811bc32a38684a6e08c9e6de22a74aee749bbd3 Mon Sep 17 00:00:00 2001 From: Frank Steinberg <steinberg@ibr.cs.tu-bs.de> Date: Wed, 9 Oct 2019 21:13:51 +0200 Subject: [PATCH] Web fixes. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6dd990a..cce5048 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ DEFILES = $(shell ls de/*.xml) FIXFILES = $(shell ls fix/*.xml) -default: bjcp-2015-styleguide-orig.xml bjcp-2015-styleguide-de.xml bjcp-2015-styleguide-orig.html bjcp-2015-styleguide-de.html web/edit.html +default: bjcp-2015-styleguide-orig.xml bjcp-2015-styleguide-de.xml bjcp-2015-styleguide-orig.html bjcp-2015-styleguide-de.html web/edit.html web/bjcp-2015-styleguide-orig.html web/bjcp-2015-styleguide-de.html cache/2015_Guidelines_Beer.docx: @if [ ! -d cache ] ; then mkdir cache ; fi @@ -32,6 +32,12 @@ bjcp-2015-styleguide-de.html: xsl/bjcp-2015-styleguide-html.xsl bjcp-2015-styleg @xsltproc xsl/bjcp-2015-styleguide-html.xsl bjcp-2015-styleguide-de.xml > bjcp-2015-styleguide-de.html @echo "built $@" +web/bjcp-2015-styleguide-orig.html: bjcp-2015-styleguide-orig.html + cp bjcp-2015-styleguide-orig.html web/ + +web/bjcp-2015-styleguide-de.html: bjcp-2015-styleguide-de.html + cp bjcp-2015-styleguide-de.html web/ + web/edit.html: xsl/bjcp-2015-styleguide-html.xsl bjcp-2015-styleguide-de.xml @echo "Document update in progress. Please wait a moment and reload..." > web/edit.html @xsltproc --stringparam edit yes --stringparam orig bjcp-2015-styleguide-orig.xml xsl/bjcp-2015-styleguide-html.xsl bjcp-2015-styleguide-de.xml > web/edit.html.tmp -- GitLab