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

Yann E. MORIN yann.morin.1998 at free.fr
Sat Jan 4 16:25:28 UTC 2014


From: "Yann E. MORIN" <yann.morin.1998 at free.fr>

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>
---
 docs/manual/manual.txt | 4 ++--
 1 file 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[]
 
-- 
1.8.1.2



More information about the buildroot mailing list