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.3+dfsg-1+rpi1~4^2^2^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3dc155e74cd10b621b5630c95003ff7071bbf56e;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 c852dc70..7bbad399 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 7315e97a..72a1c080 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 d231cdb5..9aaa875e 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 24a9bf43..812f49a8 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 cf6cc8f0..9f0b1871 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 2b03d1f4..bf53f9ad 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 178c132c..381659f5 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: