Skip to content

Commit

Permalink
Remove old Makefile and make extconf.rb more robust.
Browse files Browse the repository at this point in the history
  • Loading branch information
newtonapple committed Dec 10, 2017
1 parent 7c964ee commit 9a2bba1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 216 deletions.
215 changes: 0 additions & 215 deletions ext/cld/Makefile

This file was deleted.

4 changes: 3 additions & 1 deletion ext/cld/extconf.rb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
system "ruby ./generate_makefile.rb --prefix=#{Dir.pwd}" unless File.exists?('Makefile')
dir = File.expand_path(File.dirname(__FILE__))
makefile = File.join(dir, 'Makefile')
system "ruby #{File.join(dir, "generate_makefile.rb")} --prefix=#{dir}" unless File.exists?(makefile)

0 comments on commit 9a2bba1

Please sign in to comment.