summaryrefslogtreecommitdiffstats
path: root/docs/upload.mak
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-07-07 16:50:21 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-07-07 16:50:21 +0000
commitdcbf2669e7b00f567df1e5055a61b44881f13fb4 (patch)
treebc9e25e8bd24aa93738fb03063dadb0b37a416de /docs/upload.mak
parentf815a3e50fc9be38a55aeea16b60d613aa7daddd (diff)
downloadgst-plugins-bad-dcbf2669e7b00f567df1e5055a61b44881f13fb4.tar.gz
gst-plugins-bad-dcbf2669e7b00f567df1e5055a61b44881f13fb4.tar.bz2
gst-plugins-bad-dcbf2669e7b00f567df1e5055a61b44881f13fb4.zip
remove docs
Original commit message from CVS: remove docs
Diffstat (limited to 'docs/upload.mak')
-rw-r--r--docs/upload.mak34
1 files changed, 0 insertions, 34 deletions
diff --git a/docs/upload.mak b/docs/upload.mak
deleted file mode 100644
index ed01e5e9..00000000
--- a/docs/upload.mak
+++ /dev/null
@@ -1,34 +0,0 @@
-# this snippet is to be included by both our docbook manuals
-# and gtk-doc API references
-
-# it adds an upload target to each of these dir's Makefiles
-
-# each Makefile.am should define the following variables:
-# - DOC: the base name of the documentation
-# (faq, manual, pwg, gstreamer, gstreamer-libs)
-# - FORMATS: the formats in which DOC is output
-# (html ps pdf)
-
-# if you want to use it, make sure your ..sh/config file contains the
-# correct User entry for the Host entry for the DOC_SERVER
-
-# these variables define the location of the online docs
-DOC_SERVER=freedesktop.org
-DOC_BASE=/srv/gstreamer.freedesktop.org/www/data/doc
-DOC_URL=$(DOC_SERVER):$(DOC_BASE)
-
-
-upload: $(FORMATS)
- @if test "x$(GST_VERSION_NANO)" = x0; then \
- export DOCVERSION=$(VERSION); \
- else export DOCVERSION=head; \
- fi; \
- export DIR=$(DOC_BASE)/gstreamer/$$DOCVERSION/$(DOC); \
- ssh $(DOC_SERVER) mkdir -p $$DIR; \
- if echo $(FORMATS) | grep html > /dev/null; then export SRC="$$SRC html"; fi; \
- if echo $(FORMATS) | grep ps > /dev/null; then export SRC="$$SRC $(DOC).ps"; fi; \
- if echo $(FORMATS) | grep pdf > /dev/null; then export SRC="$$SRC $(DOC).pdf"; fi; \
- echo Uploading $$SRC to $(DOC_SERVER):$$DIR; \
- rsync -rv -e ssh --delete $$SRC $(DOC_SERVER):$$DIR; \
- ssh $(DOC_SERVER) chmod -R g+w $$DIR; \
- echo Done