diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-01-30 12:42:20 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-01-30 12:42:20 -0200 |
commit | cd87717243f12ecfd54f4a94eddc48ebab2f3bb7 (patch) | |
tree | 8bf9db1361d57ac978eebb068982b484405a3e1b /Makefile | |
parent | 3582db0bde8c3650e9a4e815451596e4e853c32e (diff) | |
download | mediapointer-dvb-s2-cd87717243f12ecfd54f4a94eddc48ebab2f3bb7.tar.gz mediapointer-dvb-s2-cd87717243f12ecfd54f4a94eddc48ebab2f3bb7.tar.bz2 |
removed requirement for CHANGE_LOG_* env vars
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Before, to use make commit, some env vars were required. Now, just using
HGUSER=Mauro Carvalho Chehab <mchehab@infradead.org>
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 <mchehab@infradead.org>
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: |