fix typo in manual page
[rsync.git] / packaging / send-news
blobc83a74c03776516f2b7c26ed090aeeb02118d857
1 #!/bin/bash -e
3 # This script expects the ~/src/rsync directory to contain the rsync
4 # source that has been updated. It also expects the auto-build-save
5 # directory to have been created prior to the running of configure so
6 # that each branch has its own build directory underneath. This supports
7 # the maintainer workflow for the rsync-patches files maintenace.
9 FTP_SRC="$HOME/samba-rsync-ftp"
10 FTP_DEST="/home/ftp/pub/rsync"
11 MD_FILES="README.md INSTALL.md NEWS.md"
13 case "$RSYNC_SAMBA_HOST" in
14 *.samba.org) ;;
16 echo "You must set RSYNC_SAMBA_HOST in your environment to the samba hostname to use." >&2
17 exit 1
19 esac
21 if [ ! -d "$FTP_SRC" ]; then
22 packaging/samba-rsync ftp # Ask to initialize the local ftp dir
25 cd ~/src/rsync
27 make man
28 ./md-convert --dest="$FTP_SRC" $MD_FILES
29 rsync -aiic $MD_FILES auto-build-save/master/*.?.html "$FTP_SRC"
31 cd "$FTP_SRC"
33 rsync -aiic README.* INSTALL.* NEWS.* *.?.html "$RSYNC_SAMBA_HOST:$FTP_DEST/"