summaryrefslogtreecommitdiff
path: root/www/upload
blob: 3c691e9972dc76cea019c9d6ed52c2f905599ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh 
#
# Upload gpsd website contents.
# Plesase do not introduce bashims into this script.
#
# No CGI copy yet, hosting site won't let us send mail
#
webdir=shell.berlios.de:/home/groups/gpsd/htdocs
#cgidir=shell.berlios.de:/home/groups/gpsd/cgi-bin

# Ensure all derived HTML and checksums are up to date.
(cd ..; make website)

if [ $1 ]
then
    for f in $*; do scp $f $webdir/$f; done
else
    scp *.html *.png *.gif *.css *.js *.txt \
	performance/*.html performance/*.txt performance/*.png \
	../TODO ../NEWS \
	$webdir
    #scp gps_report.cgi $cgidir
fi

# End