summaryrefslogtreecommitdiff
path: root/manual/SConscript
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2008-07-10 10:21:48 +0000
committerTim Mayberry <mojofunk@gmail.com>2008-07-10 10:21:48 +0000
commita67bcdc0e35e58e26cdfb985f7189263b3351b90 (patch)
tree2356d6ab774b510064b986ef6146b5e7288b0e83 /manual/SConscript
parent051e29f28b20582df03adff707706e8233bcd10a (diff)
Use scons to generate manual entities so the manual version is consistant with the Ardour version
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3563 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'manual/SConscript')
-rw-r--r--manual/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/manual/SConscript b/manual/SConscript
new file mode 100644
index 0000000000..f8a5a12be1
--- /dev/null
+++ b/manual/SConscript
@@ -0,0 +1,11 @@
+# -*- python -*-
+
+Import('env ardour_version')
+
+manual_subst_dict = { }
+
+manual_subst_dict['%VERSION%'] = ardour_version
+
+entities = env.SubstInFile ('xml/entities.ent', 'xml/entities.ent.in', SUBST_DICT = manual_subst_dict);
+
+Default(entities)