From cd87717243f12ecfd54f4a94eddc48ebab2f3bb7 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 30 Jan 2006 12:42:20 -0200 Subject: removed requirement for CHANGE_LOG_* env vars From: Mauro Carvalho Chehab Before, to use make commit, some env vars were required. Now, just using HGUSER=Mauro Carvalho Chehab is enough to gererate an useful log. Readme updated to this new condition. Also added a warning about keeping the first line in blank. Readme visual improved. Signed-off-by: Mauro Carvalho Chehab --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8dcf8a289..8124ec1f3 100644 --- a/Makefile +++ b/Makefile @@ -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: -- cgit v1.2.3