Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105175951
eigen_gen_docs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Mar 15, 04:56
Size
738 B
Mime Type
text/x-shellscript
Expires
Mon, Mar 17, 04:56 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24938567
Attached To
rDLMA Diffusion limited mixed aggregation
eigen_gen_docs
View Options
#!/bin/sh
# configuration
# You should call this script with USER set as you want, else some default
# will be used
USER=${USER:-'orzel'}
UPLOAD_DIR=dox-devel
#ulimit -v 1024000
# step 1 : build
rm build/doc/html -Rf
mkdir build -p
(cd build && cmake .. && make doc) || { echo "make failed"; exit 1; }
#step 2 : upload
# (the '/' at the end of path is very important, see rsync documentation)
rsync -az --no-p --delete build/doc/html/ $USER@ssh.tuxfamily.org:eigen/eigen.tuxfamily.org-web/htdocs/$UPLOAD_DIR/ || { echo "upload failed"; exit 1; }
#step 3 : fix the perm
ssh $USER@ssh.tuxfamily.org "chmod -R g+w /home/eigen/eigen.tuxfamily.org-web/htdocs/$UPLOAD_DIR" || { echo "perm failed"; exit 1; }
echo "Uploaded successfully"
Event Timeline
Log In to Comment