Skip to content

Commit

Permalink
update doc and add release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Davidsaver committed May 26, 2015
1 parent db2de97 commit 184a932
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 3 deletions.
2 changes: 1 addition & 1 deletion documentation/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PROJECT_NAME = devLib2
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 2.5
PROJECT_NUMBER = 2.6

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
4 changes: 2 additions & 2 deletions documentation/mainpage.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ this is the only piece of information required to access the card.
Below is an example implementation of myPCICardSetup().
@code
static const struct VMECSRID mydevids[] = {...}
static const epicsPCIID mydevids[] = {...}
int
myVMECardSetup(const char* port,
myPCICardSetup(const char* port,
int b,
int d,
int f)
Expand Down
6 changes: 6 additions & 0 deletions scripts/maketar.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -e

TAG=$1

exec git archive --prefix=devlib2-${1}/ --format tar.gz -9 -o devlib2-${1}.tar.gz ${1}
15 changes: 15 additions & 0 deletions scripts/pushdoc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh
set -e

die() {
echo "$1"
exit 1
}

[ "$USER" ] || die "USER not set"

[ -f documentation/mainpage.h ] || die "Run me in the top level"

(cd documentation && doxygen)

rsync -av --delete "$@" documentation/doc/html/ $USER,[email protected]:/home/project-web/epics/htdocs/devlib2/
15 changes: 15 additions & 0 deletions scripts/uploadtar.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh
set -e

die() {
echo "$1"
exit 1
}

[ -f "$1" ] || die "usage $0 <tarfile>"

[ "$USER" ] || die "USER not set"

[ -f documentation/mainpage.h ] || die "Run me in the top level"

scp "$1" $USER,[email protected]:/home/frs/project/epics/devlib2/

0 comments on commit 184a932

Please sign in to comment.