view web/upload.sh @ 2865:cb5326e72117

Ref #631: Compilation script for all distributions https://github.com/BestImageViewer/geeqie/issues/631 Reference to all-distros script included in README. Full list of dependencies still not included.
author Colin Clark <colin.clark@cclark.uk>
date Sun, 18 Nov 2018 17:38:10 +0000
parents 41ff0bdf1c66
children
line wrap: on
line source

#!/bin/sh

if [ "${PWD##*/}" != "web" ] ; then
  echo $0 must be called from directory \"web\"
  exit 1;
fi

# later we can include user manual
# ln -sf ../doc

chmod -R a+rX .
rsync --archive \
   --verbose \
   --partial \
   --progress \
   --copy-links \
   --keep-dirlinks \
   --delete \
   --exclude "*.bak" \
   --exclude .xvpics \
   --exclude .thumbnails \
   --exclude .wml \
   --exclude "*.wml" \
   --exclude "*~" \
   --exclude .gitignore \
   --exclude Makefile \
   --exclude .wmlrc \
   --exclude .wmkrc \
   --exclude sync \
   --exclude "*.sh" \
   --exclude ".*.swp" \
   ./ tschil:/srv/www/geeqie.org/