Commit c6c769aa authored by Jan Schmidt's avatar Jan Schmidt
Browse files

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/
parent 6d326428
common @ f3bb51b8
Subproject commit c57272152d5c40617fab305d839db1b1fefe0ea0
Subproject commit f3bb51b867ff403f70d36fc772861d8e57c703ed
......@@ -9,7 +9,6 @@ DIST_SUBDIRS = plugins
random/ChangeLog-0.8 \
upload.mak \
......@@ -7,11 +7,11 @@ GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
# for upload.mak
# for upload-doc.mak
html: html-build.stamp
include $(srcdir)/../upload.mak
include $(top_srcdir)/common/upload-doc.mak
# generated basefiles
#basefiles = \
# 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 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 file contains the
# correct User entry for the Host entry for the DOC_SERVER
# these variables define the location of the online docs
upload: $(FORMATS)
@if test "x$(GST_VERSION_NANO)" = x0; then \
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
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