diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-11 12:41:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-11 12:41:12 +0000 |
commit | 7ef29a9f5e6b0ac8e194e6bb81353c992aac5669 (patch) | |
tree | dbb3ee0bbe9cc2c34beabd729aa3e294aa160677 | |
parent | 59a666a25f9c03320a5fcc5b576b86c3a87a9317 (diff) | |
download | ruby-7ef29a9f5e6b0ac8e194e6bb81353c992aac5669.tar.gz |
* configure.in (Makefile): fix duplicated target again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 8f5bc1d54f..2b01a2f589 100644 --- a/configure.in +++ b/configure.in @@ -2852,9 +2852,11 @@ AC_CONFIG_FILES(Makefile, [{ echo 'distclean-local::; @$(RM) GNUmakefile uncommon.mk' fi } > confmk$$.tmp && mv -f confmk$$.tmp Makefile && + { grep '^ruby:' Makefile > /dev/null || ${MAKE-make} info-program | grep '^PROGRAM=ruby$' > /dev/null || - echo 'ruby: $(PROGRAM);' >> Makefile], + echo 'ruby: $(PROGRAM);' >> Makefile + }], [EXEEXT='$EXEEXT' gnumake='$gnumake']) ruby_pc="${RUBY_BASE_NAME}-${MAJOR}.${MINOR}.pc" |