summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-10-30 14:18:18 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-10-30 14:35:51 -0400
commitb1461308416fa83d1de0016a9d4804b68a1f1d8f (patch)
tree03d34ee7cbade4d58e43b54dce7d2b71887e9cd0 /build
parente3a7f522a6b96729b2a0122f8c430c24dc17fc5a (diff)
[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.
Diffstat (limited to 'build')
-rw-r--r--build/Makefile.am.releasing13
1 files changed, 11 insertions, 2 deletions
diff --git a/build/Makefile.am.releasing b/build/Makefile.am.releasing
index b805ebb6..c3b02169 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 \