summaryrefslogtreecommitdiffstats
path: root/docs/upload.mak
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-06-11 13:32:22 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-06-11 13:32:22 +0100
commitc6c769aa8a6b711e9fbc74482c6d3747730ab542 (patch)
tree411fe7c7d5b08bc0d427cb76502382365824dc7d /docs/upload.mak
parent6d32642887c79e3d2ac9ef9b7e8bb2f13b3f3d8d (diff)
docs: Bump common. Use upload-doc.mak instead of upload.mak
Remove the local copy of upload.mak in favour of using the shared upload-doc.make in common/
Diffstat (limited to 'docs/upload.mak')
-rw-r--r--docs/upload.mak35
1 files changed, 0 insertions, 35 deletions
diff --git a/docs/upload.mak b/docs/upload.mak
deleted file mode 100644
index cff4c49b..00000000
--- a/docs/upload.mak
+++ /dev/null
@@ -1,35 +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=gstreamer.freedesktop.org
-DOC_BASE=/srv/gstreamer.freedesktop.org/www/data/doc
-DOC_URL=$(DOC_SERVER):$(DOC_BASE)
-GST_VERSION_NANO = $(GST_PLUGINS_GOOD_VERSION_NANO)
-
-
-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