From: Carsten Schoenert Date: Thu, 13 Oct 2016 19:08:18 +0000 (+0200) Subject: doc: Add field 'revdate' to asciidoc files X-Git-Tag: archive/raspbian/8.0.5+dfsg-1+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5d89fb561ea4911c1f797886cd3560ccbd5a625d;p=kicad.git doc: Add field 'revdate' to asciidoc files For reproducibility we need to set up a date that's not depending on the current time and timezone. We add a extra asciidoc control field 'revdate' and expand the variable behind that while building the package with the date from the changelog file. Note! Unfortunately using the modified files in the way it's originally intended breaks the build of the source by using dpkg-buildpackage twice in a row. Until this issue is solved the added fields are now commented out. Forwarded: Not-Needed Gbp-Pq: Topic reproducibility Gbp-Pq: Name doc-Add-field-revdate-to-asciidoc-files.patch --- diff --git a/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc b/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc index c852dc70a..7bbad3997 100644 --- a/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc +++ b/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +//:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/eeschema/eeschema.adoc b/doc/src/eeschema/eeschema.adoc index d83800d1a..0939c384c 100644 --- a/doc/src/eeschema/eeschema.adoc +++ b/doc/src/eeschema/eeschema.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +//:revdate: @REVDATE@ :toc: :ascii-ids: :experimental: diff --git a/doc/src/gerbview/gerbview.adoc b/doc/src/gerbview/gerbview.adoc index 255dc1576..457fb9f12 100644 --- a/doc/src/gerbview/gerbview.adoc +++ b/doc/src/gerbview/gerbview.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +//:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc b/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc index bfe624347..76e8acc52 100644 --- a/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc +++ b/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +//:revdate: @REVDATE@ :toc: :ascii-ids: :experimental: diff --git a/doc/src/kicad/kicad.adoc b/doc/src/kicad/kicad.adoc index 80f1f9bec..e3b566858 100644 --- a/doc/src/kicad/kicad.adoc +++ b/doc/src/kicad/kicad.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +//:revdate: @REVDATE@ :toc: :ascii-ids: :experimental: diff --git a/doc/src/pcbnew/pcbnew.adoc b/doc/src/pcbnew/pcbnew.adoc index c33b33e0a..200a0494c 100644 --- a/doc/src/pcbnew/pcbnew.adoc +++ b/doc/src/pcbnew/pcbnew.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +//:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/pl_editor/pl_editor.adoc b/doc/src/pl_editor/pl_editor.adoc index e991f4bc5..5cd7685e9 100644 --- a/doc/src/pl_editor/pl_editor.adoc +++ b/doc/src/pl_editor/pl_editor.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +//:revdate: @REVDATE@ :toc: :ascii-ids: