# Copy binaries
if list_find "$MARADNS_AUTHONLY" "--authonly"; then
    install -v -m 750 server/maradns.authonly $INSTALL_ROOT/usr/sbin/maradns
else
    install -v -m 750 server/maradns $INSTALL_ROOT/usr/sbin
fi &&

install -v -m 755  tools/askmara   $INSTALL_ROOT/usr/bin   &&
install -v -m 755  tools/duende    $INSTALL_ROOT/usr/bin   &&
install -v -m 755  tcp/getzone     $INSTALL_ROOT/usr/bin   &&
install -v -m 755  tcp/fetchzone   $INSTALL_ROOT/usr/bin   &&
install -v -m 750  tcp/zoneserver  $INSTALL_ROOT/usr/sbin  &&

install_config_file doc/en/examples/example_full_mararc $INSTALL_ROOT/etc/mararc            &&
install_config_file doc/en/examples/example_csv1 $INSTALL_ROOT/etc/maradns/db.example1.com  &&
install_config_file doc/en/examples/example_csv2 $INSTALL_ROOT/etc/maradns/db.example2.com  &&
mkdir -vp $INSTALL_ROOT/etc/maradns/logger                                                  &&

# Copy man pages
for  i  in  $( seq 1 8 )  ;  do
   install -v -m 644  doc/en/man/*.$i  $INSTALL_ROOT/usr/share/man/man$i  >  /dev/null  2>&1
done
