vp-build/helpers/automake.sh
Juan RP 5bb36505b1 Rename helper-templates to just helpers.
--HG--
extra : convert_revision : cbaa30da99805accbe250d8dee5494c78cb93291
2008-10-30 23:34:05 +01:00

19 lines
423 B
Bash

#
# This helper runs the GNU autoconf tools and friends for a template.
# Optionally $automake_dir may be specified for a specific directory.
#
run_automake()
{
$XBPS_MASTERDIR/bin/aclocal
$XBPS_MASTERDIR/bin/libtoolize --automake
$XBPS_MASTERDIR/bin/automake -a --foreign -i
$XBPS_MASTERDIR/bin/autoconf
}
if [ -z "$automake_dir" ]; then
cd $wrksrc && run_automake
else
cd $wrksrc/$automake_dir && run_automake
fi