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

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} \
	$webdir
fi

# To refresh the vendor-docs directory just do this:
# scp -r vendor-docs $webdir/vendor-docs