summaryrefslogtreecommitdiff
path: root/db-4.8.30/examples_c/ex_apprec/auto_rebuild
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2016-12-17 21:28:53 -0800
committerJesse Morgan <jesse@jesterpm.net>2016-12-17 21:28:53 -0800
commit54df2afaa61c6a03cbb4a33c9b90fa572b6d07b8 (patch)
tree18147b92b969d25ffbe61935fb63035cac820dd0 /db-4.8.30/examples_c/ex_apprec/auto_rebuild
Berkeley DB 4.8 with rust build script for linux.
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