File: update_website

package info (click to toggle)
ruby-tioga 1.19.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,812 kB
  • sloc: ansic: 39,883; ruby: 17,312; sh: 79; makefile: 32
file content (17 lines) | stat: -rwxr-xr-x 383 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# (re-)generate rdoc documentation
if test -z "$NORDOC"; then
    rdoc
fi

# Copy images to the doc/ subdir
cp -r images doc/

if test -z "$RUBYFORGE_USER"; then
    RUBYFORGE_USER=""
else
    RUBYFORGE_USER="$RUBYFORGE_USER@";
fi
# Upload to rubyforge using rsync:
rsync -rtvvz --exclude '.*' --progress doc "$RUBYFORGE_USER"rubyforge.org:/var/www/gforge-projects/tioga