From 29ff186882c0bb78138bfb32e30b686bec44824e Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 27 May 2011 13:14:32 -0300 Subject: [PATCH] prod/doc/: make END macro generate the date and autor line; use current date --- prod/doc/Makefile | 3 ++- prod/doc/analysis.hmac | 6 +----- prod/doc/flash.hmac | 6 +----- prod/doc/index.hmac | 6 +----- prod/doc/setup.hmac | 6 +----- prod/doc/style.inc | 5 ++++- prod/doc/test.hmac | 6 +----- 7 files changed, 11 insertions(+), 27 deletions(-) diff --git a/prod/doc/Makefile b/prod/doc/Makefile index f5e60f9..0fd2f33 100644 --- a/prod/doc/Makefile +++ b/prod/doc/Makefile @@ -14,7 +14,8 @@ DL=http://downloads.qi-hardware.com/people/werner/wpan/tmp all: $(DOWNLOADED) $(GENERATED) %.html: %.hmac style.inc hmac.pl - perl hmac.pl $*.hmac >$@ || { rm -f $@; exit 1; } + perl hmac.pl -DGEN_DATE=`date -u +'%Y-%m-%d'` $*.hmac >$@ || \ + { rm -f $@; exit 1; } flow.png: flow.fig fig2dev -L png -m 0.7 -S 4 $< $@ || { rm -f $@; exit 1; } diff --git a/prod/doc/analysis.hmac b/prod/doc/analysis.hmac index e2233e3..3bdd23b 100644 --- a/prod/doc/analysis.hmac +++ b/prod/doc/analysis.hmac @@ -245,10 +245,6 @@ be good atben board on the same Ben at a comparable temperature. OtherDivergence can be compensated by adjusting trim value - -

-


-Last update: 2011-05-27  Werner Almesberger -
+ diff --git a/prod/doc/flash.hmac b/prod/doc/flash.hmac index 2c85343..515fb8c 100644 --- a/prod/doc/flash.hmac +++ b/prod/doc/flash.hmac @@ -88,10 +88,6 @@ the application with DFU. After this, you can proceed with the If the board fails to enumerate, proceed with the fault analysis. - -

-


-Last update: 2011-05-27  Werner Almesberger -
+ diff --git a/prod/doc/index.hmac b/prod/doc/index.hmac index f7eba09..2b9a779 100644 --- a/prod/doc/index.hmac +++ b/prod/doc/index.hmac @@ -112,10 +112,6 @@ production and test process: - -

-


-Last update: 2011-05-27  Werner Almesberger -
+ diff --git a/prod/doc/setup.hmac b/prod/doc/setup.hmac index 801a214..b91bf3d 100644 --- a/prod/doc/setup.hmac +++ b/prod/doc/setup.hmac @@ -269,10 +269,6 @@ Ben, and if a stable temperature is maintained. @@@ - -

-


-Last update: 2011-05-27  Werner Almesberger -
+ diff --git a/prod/doc/style.inc b/prod/doc/style.inc index 506de98..ee275c8 100644 --- a/prod/doc/style.inc +++ b/prod/doc/style.inc @@ -95,7 +95,7 @@ - +

@@ -105,4 +105,7 @@ <__PI_SEP>
+

+ Last update:    +


diff --git a/prod/doc/test.hmac b/prod/doc/test.hmac index 7bd9296..fd70e84 100644 --- a/prod/doc/test.hmac +++ b/prod/doc/test.hmac @@ -200,10 +200,6 @@ Another possible cause could a problem with the SLP_TR signal. The GPIO test should eventually catch this issue, but it may currently remain undetected until the send test. - -

-


-Last update: 2011-05-27  Werner Almesberger -
+