#! /bin/sh
+copy=$1
+
# Start by setting up everything for main tree
aclocal -I ./automake
autoheader
-gettextize
-libtoolize --force
-automake --add-missing --foreign
+gettextize $copy
+libtoolize --force $copy
+automake --add-missing --foreign $copy
autoconf
# Utils has it's own configure, so we need to repeat this there
cd utils
aclocal -I ../automake
autoheader
-automake --foreign
+automake --foreign $copy
autoconf
# Return to the previous directory