summaryrefslogtreecommitdiff
path: root/www/upload
blob: 397e05682cabe47004922172765b11c77393fc61 (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
#!/bin/bash 
#
# Upload gpsd docs
#
# 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

make all	# Ensure all derived HTML and checksums are up to date.

if [ $1 ]
then
    for f in $*; do scp $f $webdir/$f; done
else
    (cd performance; xmlto xhtml-nochunks performance.xml)
    scp start-kismet *.html *.png *.pdf *.gif *.css *.js *.txt \
	performance/{*.html,*.txt,*.png} \
	../TODO ../NEWS \
	$webdir
    #scp gps_report.cgi $cgidir
fi

# To refresh the vendor-docs and standards directories just do this:
#scp -r standards library vendor-docs $webdir