#!/bin/sh
# configure -- runs before src/ is compiled during R CMD INSTALL / R CMD check.
# Generates all 216 family translation units from pelt.tmpl / segd.tmpl.

echo "* fastcpd: generating family translation units..."
"${R_HOME}/bin/Rscript" tools/codegen.R src src
echo "* fastcpd: code generation complete."
