From d317226911e2940e7c184a861cd0da154bbe266e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Mar 2015 05:13:18 -0500 Subject: Use current date if building non-release docs. --- wscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 05c7a84..8df369e 100644 --- a/wscript +++ b/wscript @@ -314,6 +314,10 @@ def build_index(task): rows += rowfile.readlines() rowfile.close() + if date is None: + import datetime + date = datetime.datetime.now().isoformat() + subst_file(task.inputs[0].abspath(), task.outputs[0].abspath(), { '@ROWS@': ''.join(rows), '@LV2_VERSION@': VERSION, -- cgit v1.2.1