From 78a23fbf2766f8a70e4a05812bf2e55a5df4f637 Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Sun, 12 Feb 2006 17:08:05 +0100 Subject: The hg push repo can be defined in the env From: Ricardo Cerqueira If I want to push a changeset to my own repo with "make push", I just have to define the $REPO_PUSH env var. Signed-off-by: Ricardo Cerqueira --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 25fca34b7..1f11bcb3f 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ BUILD_DIR := $(shell pwd)/v4l REPO_PULL := http://linuxtv.org/hg/v4l-dvb -ifneq ($(CHANGE_LOG_LOGIN),) +ifeq ($(REPO_PUSH),) + ifneq ($(CHANGE_LOG_LOGIN),) REPO_PUSH := ssh://$(CHANGE_LOG_LOGIN)@linuxtv.org/hg/v4l-dvb -else + else REPO_PUSH := ssh://linuxtv.org/hg/v4l-dvb + endif endif ifeq ($(EDITOR),) -- cgit v1.2.3