libdb/examples/c/ex_apprec/auto_rebuild

10 lines
316 B
Text

# 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