Skip to content

Commit c245a9e

Browse files
committed
NF - added makefile target to allow any sf user to upload docs
1 parent c9e5d37 commit c245a9e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,12 @@ upload-website: website
133133
rsync -rzhvp --delete --chmod=Dg+s,g+rw $(WWW_DIR)/* \
134134
web.sourceforge.net:/home/groups/n/ni/niftilib/htdocs/nibabel/
135135

136-
upload-htmldoc: htmldoc
136+
# This one udates for the specific user named at the top of the makefile
137+
upload-htmldoc: htmldoc upload-htmldoc-$(SF_USER)
138+
139+
upload-htmldoc-%: htmldoc
137140
rsync -rzhvp --delete --chmod=Dg+s,g+rw $(HTML_DIR)/* \
138-
$(SF_USER),[email protected]:/home/groups/n/ni/nipy/htdocs/nibabel/
141+
$*,[email protected]:/home/groups/n/ni/nipy/htdocs/nibabel/
139142

140143
#
141144
# Sources

0 commit comments

Comments
 (0)