diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,6 +1,10 @@ BUILD_DIR := $(shell pwd)/v4l REPO_PULL := http://linuxtv.org/hg/v4l-dvb -REPO_PUSH := ssh://$(CHANGE_LOG_LOGIN)@linuxtv.org/hg/v4l-dvb +ifneq ($(CHANGE_LOG_LOGIN),) + REPO_PUSH := ssh://$(CHANGE_LOG_LOGIN)@linuxtv.org/hg/v4l-dvb +else + REPO_PUSH := ssh://linuxtv.org/hg/v4l-dvb +endif ifeq ($(EDITOR),) ifeq ($(VISUAL),) @@ -25,12 +29,11 @@ commit cvscommit hgcommit change changes changelog:: whitespace grep -v ^# /tmp/v4l_hg_commit.msg | hg commit -l - pull update v4l-update:: - @echo "Pulling master repository changes" + @echo "Pulling changes from master repository $(REPO_PULL)" -hg pull -u $(REPO_PULL) - hg checkout push:: - @echo "Pushing changes to master repository" + @echo "Pushing changes to master repository $(REPO_PUSH)" -hg push $(REPO_PUSH) whitespace: |