summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-07-04 18:15:32 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-07-04 18:15:32 +0200
commitfc466638089998071961f152c041c1d9c79cd17d (patch)
tree04e11f5c87f9331e80f9a3a401dada21dfba0310
parenta3cfb91fee1d418024156758e33c566f3f21e0c0 (diff)
downloadmutti-web-fc466638089998071961f152c041c1d9c79cd17d.tar.gz
mutti-web-fc466638089998071961f152c041c1d9c79cd17d.tar.bz2
mutti-web-fc466638089998071961f152c041c1d9c79cd17d.zip
Makefile: Exclude the dot from the suffix variable
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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