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
16 echo "You must set RSYNC_SAMBA_HOST in your environment to the samba hostname to use." >&2
21 if [ ! -d "$FTP_SRC" ]; then
22 packaging
/samba-rsync
ftp # Ask to initialize the local ftp dir
28 .
/md-convert
--dest="$FTP_SRC" $MD_FILES
29 rsync
-aiic $MD_FILES auto-build-save
/master
/*.?.html
"$FTP_SRC"
33 rsync
-aiic README.
* INSTALL.
* NEWS.
* *.?.html
"$RSYNC_SAMBA_HOST:$FTP_DEST/"