[Buildroot] [git commit] manual: use current date/time for 'generated on'

Peter Korsgaard peter at korsgaard.com
Sat Jan 4 20:11:44 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=4e2b7057c65f06426b7c9b37df8ee9a3d1e62fb9
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Currently, the manual uses the last modification date and time of
manual.txt in the generated manual.

This is confusing, especially for long-checked-out repositories where
the top-level manual.txt has not changed since the check out. Moreover,
the manual explicitly states 'generated on', which is confusing at best.

Use the current date and time instead.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Samuel Martin <s.martin49 at gmail.com>
Acked-by: Samuel Martin <s.martin49 at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 docs/manual/manual.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/manual/manual.txt b/docs/manual/manual.txt
index 9ae658e..958afae 100644
--- a/docs/manual/manual.txt
+++ b/docs/manual/manual.txt
@@ -8,8 +8,8 @@ The Buildroot user manual
 Buildroot usage and documentation by Thomas Petazzoni. Contributions
 from Karsten Kruse, Ned Ludd, Martin Herren and others.
 
-Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on {docdate}
-{doctime} from git revision {sys:git rev-parse --short HEAD}
+Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on {localdate}
+{localtime} from git revision {sys:git rev-parse --short HEAD}
 
 image::logo.png[]
 


More information about the buildroot mailing list