Thanks for the reply, but I can see I wasn't clear in my question.
You don't need to worry about the value, this variable is meant to be
set externally.
Right, I understand.
BUILD_DATE="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}"
+%Y-%m-%d)"
1) Automake cannot assume GNU date, so those options cannot be used, but
I realize that's just an example.
2) More fundamentally, as things stand nothing makes use of
the variable.
Let me know if you have further questions.
Can you propose an actual patch for doc/amhello?
I feel like the implication is for Automake to use SOURCE_DATE_EPOCH
everywhere, which sounds like quite an invasively large change. I admit
I can't really wrap my mind around it.
Meanwhile, from your original post it sounds like you already solved
the practical problems, so maybe we can just let this go? --thanks, karl.