summaryrefslogtreecommitdiff
path: root/tmpl/regen_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/regen_all.sh')
-rwxr-xr-x[-rw-r--r--]tmpl/regen_all.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tmpl/regen_all.sh b/tmpl/regen_all.sh
index f9f4c95..53886c9 100644..100755
--- a/tmpl/regen_all.sh
+++ b/tmpl/regen_all.sh
@@ -1,5 +1,14 @@
#!/bin/bash
+# This script generates the multi-argument template code
+# for the callable and factory interfaces.
+# This is the magic that makes the API calls
+# so natural to call into as a C++ client app.
+# This script is manually run when the source tmpl files are changed.
+# And the generated sources are checked in.
+# This way, the build system does not generate public headers.
+# And the build system does not depend on Cheetah templates.
+
SCRIPT="`readlink -e $0`"
SCRIPTPATH="`dirname $SCRIPT`"
DEST=${SCRIPTPATH}/../include/gras