summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@gmail.com>2011-06-04 19:35:53 -0300
committerWill Thompson <will.thompson@collabora.co.uk>2011-06-29 19:11:22 +0100
commite9fa42cd452d504013cb9164e4624b33477ed271 (patch)
treed913744ce1fba9af6801cc9a1b7bc0bc06007990 /Makefile
parentbf4b8aa9ebda7ba40ee907b09948c7ff739e34cc (diff)
Adds UPLOAD_BRANCH_HOST command-line variable
This fixes upload-branch output. Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8c9398fa..1063e4b6 100644
--- a/Makefile
+++ b/Makefile
@@ -91,14 +91,15 @@ dist: check
rm -rf tmp/"$(DISTNAME)"
BRANCH = $(shell sh tools/git-which-branch.sh misc | tr -d '\n' | tr -C "[:alnum:]" _)
-UPLOAD_BRANCH_TO = people.freedesktop.org:public_html/telepathy-spec
+UPLOAD_BRANCH_HOST = people.freedesktop.org
+UPLOAD_BRANCH_TO = $(UPLOAD_BRANCH_HOST):public_html/telepathy-spec
# Usage: make upload-branch BRANCH=discussion
upload-branch: all
rsync -rzvP --delete doc/spec \
$(UPLOAD_BRANCH_TO)-$(BRANCH)/
@echo Your spec branch might be at:
- @echo ' ' http://people.freedesktop.org/~$$USER/telepathy-spec-$(BRANCH)/spec/
+ @echo ' ' http://$(UPLOAD_BRANCH_HOST)/~$$USER/telepathy-spec-$(BRANCH)/spec/
# automake requires these rules for anything that's in DIST_SUBDIRS
distclean: clean