1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (Makefile): fix duplicated target again.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-11-11 12:41:12 +00:00
parent 59a666a25f
commit 7ef29a9f5e

View file

@ -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"