doc: Add field 'revdate' to asciidoc files
authorCarsten Schoenert <c.schoenert@t-online.de>
Thu, 13 Oct 2016 19:08:18 +0000 (21:08 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Thu, 12 Sep 2024 15:23:50 +0000 (17:23 +0200)
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

doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc
doc/src/eeschema/eeschema.adoc
doc/src/gerbview/gerbview.adoc
doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc
doc/src/kicad/kicad.adoc
doc/src/pcbnew/pcbnew.adoc
doc/src/pl_editor/pl_editor.adoc

index c852dc70a1dd7b19e597a16241133cfeb23c5abb..7bbad399709d72c90ed62a818b8ca6bfc2457a59 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: article
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 
index d83800d1ae6467c07e6d6a835ec61f405f40183e..0939c384c2d22df0fde135a7997831cb653f06b3 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index 255dc157691dac0bef3506356175f646a932398d..457fb9f120576882dee8d62a674fc2b0ab921eab 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: article
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 
index bfe62434742d52d01b467b54e6c03736d56d4dad..76e8acc5208326208ce9ba522361189b389ea347 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index 80f1f9bec707ab60d0bb01c954b16c806107a6a4..e3b56685844256fae3eb4f3ed3c60cf7ab31eafe 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 :experimental:
index c33b33e0af26158e53aca71361fdbe66a73985a4..200a0494c3e3ec8d2dc6511d2b40c2d551885d2a 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: book
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids:
 
index e991f4bc5e989f60fc8fcac55a094f1e93aa6817..5cd7685e93e48bc370c48f21480b62a4bf0aabae 100644 (file)
@@ -1,5 +1,6 @@
 :author: The KiCad Team
 :doctype: article
+//:revdate: @REVDATE@
 :toc:
 :ascii-ids: