diff options
author | João Paulo Rechi Vita <jprvita@gmail.com> | 2011-06-04 19:35:53 -0300 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-06-29 19:11:22 +0100 |
commit | e9fa42cd452d504013cb9164e4624b33477ed271 (patch) | |
tree | d913744ce1fba9af6801cc9a1b7bc0bc06007990 /Makefile | |
parent | bf4b8aa9ebda7ba40ee907b09948c7ff739e34cc (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-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |