From fc466638089998071961f152c041c1d9c79cd17d Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 4 Jul 2016 18:15:32 +0200 Subject: Makefile: Exclude the dot from the suffix variable --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 589164a..a58119f 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ -suffix = .xhtml +suffix = xhtml version = $(shell git rev-parse --short HEAD) -xsltproc=xsltproc --stringparam suffix $(suffix) --stringparam stylesheet style.min.css --stringparam version $(version) +xsltproc=xsltproc --stringparam suffix .$(suffix) --stringparam stylesheet style.min.css --stringparam version $(version) svg2png=rsvg-convert -f png pages=$(shell xsltproc xsl/main_filenames.xsl main.xml) -pages_gen=$(pages:%.xml=%$(suffix)) +pages_gen=$(pages:%.xml=%.$(suffix)) common_depend=main.xml $(wildcard xsl/*.xsl) Makefile checkmark.svg -- cgit