[前][次][番号順一覧][スレッド一覧]

ruby-changes:53975

From: nobu <ko1@a...>
Date: Tue, 4 Dec 2018 20:16:19 +0900 (JST)
Subject: [ruby-changes:53975] nobu:r66195 (trunk): Move dependency on gemspec

nobu	2018-12-04 20:16:14 +0900 (Tue, 04 Dec 2018)

  New Revision: 66195

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66195

  Log:
    Move dependency on gemspec

  Modified files:
    trunk/ext/bigdecimal/depend
    trunk/ext/bigdecimal/extconf.rb
Index: ext/bigdecimal/depend
===================================================================
--- ext/bigdecimal/depend	(revision 66194)
+++ ext/bigdecimal/depend	(revision 66195)
@@ -1,3 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/depend#L1
+extconf.h: $(srcdir)/$(GEMSPEC)
+
 # AUTOGENERATED DEPENDENCIES START
 bigdecimal.o: $(RUBY_EXTCONF_H)
 bigdecimal.o: $(arch_hdrdir)/ruby/config.h
Index: ext/bigdecimal/extconf.rb
===================================================================
--- ext/bigdecimal/extconf.rb	(revision 66194)
+++ ext/bigdecimal/extconf.rb	(revision 66195)
@@ -59,5 +59,5 @@ checking_for(checking_message("Windows") https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/extconf.rb#L59
 end
 
 create_makefile('bigdecimal') {|mf|
-  mf << "\nall:\n\nextconf.h: $(srcdir)/#{gemspec_name}\n"
+  mf << "GEMSPEC = #{gemspec_name}\n"
 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]