Move templates/helpers to the top level directory.
--HG-- extra : convert_revision : 26eaed6f14f4794f85048f0a50e09c94e27a6be6
This commit is contained in:
18
helpers/automake.sh
Normal file
18
helpers/automake.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# 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
|
||||
Reference in New Issue
Block a user