Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

automated doc uploading to github, removed sourceforge uploading

  • Loading branch information...
commit 568444e86367af7e8a3613fcd6d3819c00b95b0c 1 parent 622c248
@rtv authored
Showing with 1 addition and 36 deletions.
  1. +1 −1  docsrc/Makefile
  2. +0 −35 docsrc/upload.sh
View
2  docsrc/Makefile
@@ -28,4 +28,4 @@ clean:
# copy the latest docs to the web server
upload:
- ./upload.sh stage-svn stage
+ ghp-import -p stage
View
35 docsrc/upload.sh
@@ -1,35 +0,0 @@
-#!/usr/bin/env bash
-
-USAGE="USAGE: upload.sh <dest> <name>"
-
-if [ $# -ne 2 ]; then
- echo $USAGE
- exit
-fi
-
-# Figure out the SF user name; define SFUSER in your startup scripts
-# is this is different from your username.
-if [ -n "$SFUSER" ]; then
- _SFUSER=$SFUSER
-else
- _SFUSER=$USER
-fi
-echo "assuming your SourceForge username is $_SFUSER..."
-
-# Document destination and name
-DEST=$1
-NAME=$2
-
-# Create a tarball with the correct name
-rm -f $DEST
-ln -s $NAME $DEST
-tar chzf $DEST.tgz $DEST
-
-# Copy tarball to website
-scp $DEST.tgz $SFUSER@web.sourceforge.net:/home/groups/p/pl/playerstage/htdocs/doc/
-
-# Untar the file and re-jig the permissions
-ssh $_SFUSER@web.sourceforge.net 'cd /home/groups/p/pl/playerstage/htdocs/doc/; tar xvzf '$DEST'.tgz --no-overwrite-dir; find '$DEST' -type d | xargs chmod 2775; find '$DEST' -type f | xargs chmod 664'
-
-# clean up
-rm $DEST $DEST.tgz
Please sign in to comment.
Something went wrong with that request. Please try again.