Commit f2582fb3 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

fix upload target

Original commit message from CVS:
fix upload target
parent 671d5229
2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
* docs/manuals.mak:
Fix upload target to work with freedesktop
2004-01-28 Ronald Bultje <> 2004-01-28 Ronald Bultje <>
* docs/pwg/advanced_types.xml: * docs/pwg/advanced_types.xml:
...@@ -170,14 +170,18 @@ check-local: $(BUILDDIR)/$(MAIN) ...@@ -170,14 +170,18 @@ check-local: $(BUILDDIR)/$(MAIN)
cd $(BUILDDIR) && xmllint -noout -valid $(MAIN) cd $(BUILDDIR) && xmllint -noout -valid $(MAIN)
### this is a website upload target ### this is a website upload target
### if you want to use it, make sure your file contains the
### correct User entry for the Host entry for the DOC_SERVER
upload: html ps pdf upload: html ps pdf
@export RSYNC_RSH=ssh; \ @if test "x$$GST_PLUGINS_VERSION_NANO" = x0; then \
if test "x$$GST_PLUGINS_VERSION_NANO" = x0; then \
else export DOCVERSION=cvs; \ else export DOCVERSION=head; \
fi; \ fi; \
echo Uploading docs to$$DOCVERSION; \ export DIR=$(DOC_BASE)/gstreamer/$$DOCVERSION/$(DOC); \
ssh $(USERNAME) mkdir -p /home/groups/g/gs/gstreamer/htdocs/docs/$$DOCVERSION/$(DOC); \ echo Uploading docs to $(DOC_SERVER):$$DIR; \
rsync -arv $(DOC).ps $(DOC).pdf html $(USERNAME)$$DOCVERSION/$(DOC) ssh $(DOC_SERVER) mkdir -p $$DIR; \
rsync -arv -e ssh $(DOC).ps $(DOC).pdf html $(DOC_SERVER):$$DIR
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment