summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Cerqueira <devnull@localhost>2006-02-12 17:08:05 +0100
committerRicardo Cerqueira <devnull@localhost>2006-02-12 17:08:05 +0100
commit78a23fbf2766f8a70e4a05812bf2e55a5df4f637 (patch)
tree3c33effef3a3edde4f5c4460fbf9e479ed069a30
parent7bd11e9006dbf97f22d4670078f7a9dd6ca475e5 (diff)
downloadmediapointer-dvb-s2-78a23fbf2766f8a70e4a05812bf2e55a5df4f637.tar.gz
mediapointer-dvb-s2-78a23fbf2766f8a70e4a05812bf2e55a5df4f637.tar.bz2
The hg push repo can be defined in the env
From: Ricardo Cerqueira <v4l@cerqueira.org> 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 <v4l@cerqueira.org>
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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),)