[cairo-commit] build/Makefile.am.releasing
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu Oct 30 11:35:57 PDT 2008
build/Makefile.am.releasing | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
New commits:
commit b1461308416fa83d1de0016a9d4804b68a1f1d8f
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Oct 30 14:18:18 2008 -0400
[Makefile.am.releasing] Symlink /manual and /cairo-manual.tar.gz only for releases
And not for snapshots. Also symlink /cairo-manual-X.Y.Z.tar.gz for all
versions.
diff --git a/build/Makefile.am.releasing b/build/Makefile.am.releasing
index b805ebb..c3b0216 100644
--- a/build/Makefile.am.releasing
+++ b/build/Makefile.am.releasing
@@ -139,12 +139,19 @@ doc-publish-versioned: doc
cp -a doc/public/html $(MANUAL_VERSIONED)
tar czf $(MANUAL_TAR_FILE) $(MANUAL_VERSIONED)
scp $(MANUAL_TAR_FILE) $(RELEASE_UPLOAD_HOST):$(MANUAL_UPLOAD_DIR)
- ssh $(RELEASE_UPLOAD_HOST) "cd $(MANUAL_UPLOAD_DIR) && tar xzf $(MANUAL_TAR_FILE) && rm -f manual && ln -s $(MANUAL_VERSIONED) manual && ln -sf $(MANUAL_TAR_FILE) cairo-manual.tar.gz"
+ ssh $(RELEASE_UPLOAD_HOST) "cd $(MANUAL_UPLOAD_DIR) && tar xzf $(MANUAL_TAR_FILE) && ln -sf $(MANUAL_TAR_FILE) cairo-$(MANUAL_TAR_FILE"
+
+doc-publish-symlinks:
+ ssh $(RELEASE_UPLOAD_HOST) "cd $(MANUAL_UPLOAD_DIR) && rm -f manual && ln -s $(MANUAL_VERSIONED) manual && ln -sf $(MANUAL_TAR_FILE) cairo-manual.tar.gz"
+
+doc-publish:
+ $(MAKE) $(AM_MAKEFLAGS) doc-publish-versioned
+ @if test "$(RELEASE_OR_SNAPSHOT)" = release; then $(MAKE) $(AM_MAKEFLAGS) doc-publish-symliks; fi
# Strict ordering enforced for parallel make to work
release-publish: release-check
$(MAKE) $(AM_MAKEFLAGS) release-upload
- $(MAKE) $(AM_MAKEFLAGS) doc-publish-versioned
+ $(MAKE) $(AM_MAKEFLAGS) doc-publish
$(MAKE) $(AM_MAKEFLAGS) release-publish-message
if OS_WIN32
@@ -170,6 +177,8 @@ endif
.PHONY: \
dist-clear-sticky-bits \
+ doc-publish \
+ doc-publish-symlinks \
doc-publish-versioned \
release-check \
release-publish \
More information about the cairo-commit
mailing list