move upload.mak to common

Original commit message from CVS:
* common/Makefile.am:
* docs/Makefile.am:
* docs/faq/Makefile.am:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
* docs/manual/Makefile.am:
* docs/plugins/Makefile.am:
* docs/pwg/Makefile.am:
* docs/slides/Makefile.am:
* docs/upload.mak:
* common/upload.mak:
move upload.mak to common
This commit is contained in:
Thomas Vander Stichele 2006-04-29 00:36:47 +00:00
parent a293578179
commit 3795e5a571
11 changed files with 23 additions and 43 deletions

View file

@ -1,3 +1,18 @@
2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
* common/Makefile.am:
* docs/Makefile.am:
* docs/faq/Makefile.am:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
* docs/manual/Makefile.am:
* docs/plugins/Makefile.am:
* docs/pwg/Makefile.am:
* docs/slides/Makefile.am:
* docs/upload.mak:
* common/upload.mak:
move upload.mak to common
2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
* tests/check/gst/gstghostpad.c: (GST_START_TEST):

2
common

@ -1 +1 @@
Subproject commit a6710e67fd82147e32a18f1b63177583faffd498
Subproject commit 6b67aa6dd111fb139e1be0f6a386e3ff84cce091

View file

@ -16,7 +16,7 @@ SUBDIRS = design $(SUBDIRS_DOCBOOK) $(SUBDIRS_GTK_DOC)
DIST_SUBDIRS = design gst libs plugins faq manual pwg slides xsl
EXTRA_DIST = \
manuals.mak htmlinstall.mak upload.mak \
manuals.mak htmlinstall.mak \
image-png image-pdf image-eps url.entities version.entities.in
upload:

View file

@ -24,7 +24,7 @@ EXTRA_SRC = gst-uninstalled
# get the generic docbuilding Makefile stuff
include $(srcdir)/../manuals.mak
# get the generic upload target
include $(srcdir)/../upload.mak
include $(top_srcdir)/common/upload.mak
### this is standard automake stuff

View file

@ -10,7 +10,7 @@ BUILT_SOURCES=gstreamer.types
DOC=gstreamer
FORMATS=html
html: html-build.stamp
include $(srcdir)/../upload.mak
include $(top_srcdir)/common/upload.mak
# generated basefiles
#basefiles = \

View file

@ -8,7 +8,7 @@ DOC_MODULE=gstreamer-libs
DOC=gstreamer-libs
FORMATS=html
html: html-build.stamp
include $(srcdir)/../upload.mak
include $(top_srcdir)/common/upload.mak
# generated basefiles
#basefiles = \

View file

@ -27,7 +27,7 @@ EXTRA_SRC =
# get the generic docbuilding Makefile stuff
include $(srcdir)/../manuals.mak
# get the generic upload target
include $(srcdir)/../upload.mak
include $(top_srcdir)/common/upload.mak
### this is standard automake stuff

View file

@ -11,7 +11,7 @@ DOC_MODULE=$(MODULE)-plugins
DOC=$(MODULE)-plugins
FORMATS=html
html: html-build.stamp
include $(srcdir)/../upload.mak
include $(top_srcdir)/common/upload.mak
# generated basefiles
#basefiles = \

View file

@ -24,7 +24,7 @@ EXTRA_SRC =
# get the generic docbuilding Makefile stuff
include $(srcdir)/../manuals.mak
# get the generic upload target
include $(srcdir)/../upload.mak
include $(top_srcdir)/common/upload.mak
### this is standard automake stuff

View file

@ -1,2 +1 @@
EXTRA_DIST = abstract abstract.save outline README slides

View file

@ -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=gstreamer.freedesktop.org
DOC_BASE=/srv/gstreamer.freedesktop.org/www/data/doc
DOC_URL=$(DOC_SERVER):$(DOC_BASE)
upload: $(FORMATS)
@if test "x$(PACKAGE_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