summaryrefslogtreecommitdiff
path: root/db-4.8.30/examples_c/ex_apprec/auto_rebuild
diff options
context:
space:
mode:
Diffstat (limited to 'db-4.8.30/examples_c/ex_apprec/auto_rebuild')
-rw-r--r--db-4.8.30/examples_c/ex_apprec/auto_rebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/db-4.8.30/examples_c/ex_apprec/auto_rebuild b/db-4.8.30/examples_c/ex_apprec/auto_rebuild
new file mode 100644
index 0000000..aadcf64
--- /dev/null
+++ b/db-4.8.30/examples_c/ex_apprec/auto_rebuild
@@ -0,0 +1,10 @@
+# Script to rebuild automatically generated files for ex_apprec.
+
+E=../examples_c/ex_apprec
+
+cd ../../dist
+awk -f gen_rec.awk \
+ -v source_file=$E/ex_apprec_auto.c \
+ -v header_file=$E/ex_apprec_auto.h \
+ -v print_file=$E/ex_apprec_autop.c \
+ -v template_file=$E/ex_apprec_template < $E/ex_apprec.src