aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-18 09:57:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-18 09:57:01 -0700
commit879f793fac2b84510612c212b865a5f5894a4c8a (patch)
treec1ba451ced62c4c9aabdbf15fc176e33f8a6b209
parent319b641365d23a3a5f84c569a35dbaeef4362b9b (diff)
downloadpandoc-879f793fac2b84510612c212b865a5f5894a4c8a.tar.gz
Man: insert "automatically generated" comment only if pandoc-version set.
This will make it possible to deactivate it for automatic tests, so they don't need to be updated every time we bump a version.
-rw-r--r--default.man2
1 files changed, 2 insertions, 0 deletions
diff --git a/default.man b/default.man
index bce3f2444..896e5d7e0 100644
--- a/default.man
+++ b/default.man
@@ -1,8 +1,10 @@
$if(has-tables)$
.\"t
$endif$
+$if(pandoc-version)$
.\" Automatically generated by Pandoc $pandoc-version$
.\"
+$endif$
$if(adjusting)$
.ad $adjusting$
$endif$