summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlexis Bienvenüe <Alexis.Bienvenue@univ-lyon1.fr>2016-10-04 01:42:19 -0600
committerDan Allen <dan.j.allen@gmail.com>2016-10-04 01:49:31 -0600
commitd214b9072c34c4d7301c25b383dfc327853c3735 (patch)
treef508e7dcbf4154261d4aec1219fa815357d6321c /man
parent6a1dcf1c7c350610918a081dd78a6f7887aec32b (diff)
Honor the SOURCE_DATE_EPOCH environment variable
If the environment variable SOURCE_DATE_EPOCH is set, it's used as the epoch of all input documents and as the local date and time. This feature enables reproducible builds for packages that use Asciidoctor to build documentation. For more information, see: - https://reproducible-builds.org/specs/source-date-epoch/ - https://wiki.debian.org/ReproducibleBuilds/
Diffstat (limited to 'man')
-rw-r--r--man/asciidoctor.adoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/asciidoctor.adoc b/man/asciidoctor.adoc
index b9a18733..8ab68d61 100644
--- a/man/asciidoctor.adoc
+++ b/man/asciidoctor.adoc
@@ -144,6 +144,12 @@ Matching templates found in subsequent directories override ones previously disc
+
`-v` can also be used if no other flags or arguments are present.
+== ENVIRONMENT
+
+*Asciidoctor* honors the SOURCE_DATE_EPOCH environment variable.
+If this variable is assigned an integer value, that value is used as the epoch of all input documents and as the local date and time.
+See https://reproducible-builds.org/specs/source-date-epoch/ for more information about this environment variable.
+
== EXIT STATUS
*0*::