# -*- shell-script -*-

# copy and include extra mknetrel stuff
extras=${extras-"auto cross doc libtool patch split"}
[ ! -d $src/$cygwin ] && mkdir -p $src/$cygwin
i=extras
cp -pv $mknetrel/$i $src/$cygwin/mknetrel.$i
for i in $extras; do
    [ -r $mknetrel/$i ] && cp -pv $mknetrel/$i $src/$cygwin/mknetrel.$i
    . $src/$cygwin/mknetrel.$i
done
cp -pv $extra/$base $src/$cygwin/mknetrel
