summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-14 04:09:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-14 04:09:43 +0000
commit8fc86b0d34af4f0b266682351c1478d1c70a3f98 (patch)
treeedaa6def0d96f7edd7047a4e8ad530a7efb05969 /common.mk
parent7905fc1e54cda03594f050a76586780cd6968de3 (diff)
* common.mk (sudo-precheck): authenticate at first to sudo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index a2db02c844..785418a57c 100644
--- a/common.mk
+++ b/common.mk
@@ -908,9 +908,12 @@ info-arch:
change: PHONY
$(BASERUBY) -C "$(srcdir)" ./tool/change_maker.rb $(CHANGES) > change.log
-love: up all test install test-all
+love: sudo-precheck up all test install test-all
@echo love is all you need
+sudo-precheck:
+ @$(SUDO) true
+
help: PHONY
$(MESSAGE_BEGIN) \
" Makefile of Ruby" \