aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-07 05:13:18 -0500
committerDavid Robillard <d@drobilla.net>2015-03-07 05:13:18 -0500
commitd317226911e2940e7c184a861cd0da154bbe266e (patch)
treedb076c2bcbae2889ad41cc8142336d97c2989e80 /wscript
parent1010e630c56c27e8b6ea7b3708e406d1c598b27e (diff)
downloadlv2-d317226911e2940e7c184a861cd0da154bbe266e.tar.xz
Use current date if building non-release docs.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
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,