summaryrefslogtreecommitdiff
path: root/www/upload
blob: e6f000861b4628efcc5dbd143cbc152a12593b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh 
#
# Upload gpsd docs
#
webdir=shell.berlios.de:/home/groups/gpsd/htdocs
cgidir=shell.berlios.de:/home/groups/gpsd/cgi-bin

make html	# Ensure all derived HTML is 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 directory just do this:
# scp -r vendor-docs $webdir/vendor-docs