upload cvs docs as well

Original commit message from CVS:
upload cvs docs as well
This commit is contained in:
Thomas Vander Stichele 2003-10-09 13:06:06 +00:00
parent 3b7659725f
commit 90184bb1af
2 changed files with 14 additions and 1 deletions

View file

@ -18,6 +18,9 @@ EXTRA_DIST = \
slides manuals.mak htmlinstall.mak \
image-png image-pdf image-eps version.entities.in
upload:
for a in manual pwg faq; do cd $$a; make upload; cd ..; done
dist-hook:
$(RM) -rf $(distdir)/random/CVS
$(RM) -rf $(distdir)/random/*~

View file

@ -1,5 +1,8 @@
# rewritten by Thomas to be more simple and working
# SF username
USERNAME ?= thomasvs
### These are all generic; we set all the variables we need
# intermediary build path
@ -165,7 +168,14 @@ check-local:
xmllint -noout -valid $(MAIN)
### this is a website upload target
upload: html ps pdf
export RSYNC_RSH=ssh
rsync -arv $(DOC).ps $(DOC).pdf html thomasvs@shell.sf.net:/home/groups/g/gs/gstreamer/htdocs/docs/$(VERSION)/$(DOC)
if test "x$$GST_PLUGINS_VERSION_NANO" = x0; then \
export DOCVERSION=$(VERSION); \
else export DOCVERSION=cvs; \
fi; \
echo $$DOCVERSION; \
ssh $(USERNAME)@shell.sf.net mkdir -p /home/groups/g/gs/gstreamer/htdocs/docs/$$DOCVERSION/$(DOC); \
rsync -arv $(DOC).ps $(DOC).pdf html $(USERNAME)@shell.sf.net:/home/groups/g/gs/gstreamer/htdocs/docs/$$DOCVERSION/$(DOC)