# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
# ***************************************************************************
-if test "$#" -gt "2" -o $1 = "-h" -o $1 = "--help" ; then
+if test "$#" -gt "2" -o "$1" = "-h" -o "$1" = "--help" ; then
echo "Usage: $0 [host [distro]]" >&2
echo " Prepare config.mak and distro.mak file." >&2
exit 1
define EXTRACT_GZ
rm -rf $@ || true
- tar xzf $< --exclude='[*?:<>\|]'
+ gunzip $< | tar xf - --exclude='[*?:<>\|]'
mv $(patsubst %.tar.gz,%,$(patsubst %.tgz,%,$(notdir $<))) $@ || true
touch $@
endef