summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@sequoia-pgp.org>2021-10-30 15:58:31 +0300
committerLars Wirzenius <liw@sequoia-pgp.org>2021-10-30 15:58:31 +0300
commit249000e49ec3ccb8ed64e628f08d9d592c595024 (patch)
tree207c62728aa4ff18578e919fd1d64e71e64d1b66
parenta35b07583f8f508d2cbe56202a00e78557ab4d3a (diff)
downloadsq-user-guide-249000e49ec3ccb8ed64e628f08d9d592c595024.tar.gz
show git describe as version
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ec00d97..c56d011 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PANDOCOPTS = --standalone --number-sections --toc --toc-depth=2
+PANDOCOPTS = --standalone --number-sections --toc --toc-depth=2 "-Vdate=$(shell git describe)"
HTMLOPTS = -H sq.css
.SUFFIXES: .md .html .pdf
@@ -11,4 +11,4 @@ HTMLOPTS = -H sq.css
all: sq-guide.html sq-guide.pdf
-sq-guide.html: sq-guide.md sq.css Makefile
+sq-guide.html sq-guide.pdf: sq-guide.md sq.css Makefile