summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a36830b..01cb9b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
suffix = .xhtml
+version = $(shell git rev-parse --short HEAD)
-xsltproc=xsltproc --stringparam suffix $(suffix) --stringparam stylesheet style.min.css
+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)