384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
|
# File 'lib/mkduino.rb', line 384
def write_autogen_sh
puts("Writing autogen.sh")
File.open('autogen.sh',"w") do |f|
f.puts "#!/bin/sh\nif [ -e 'Makefile.am' ] ; then\necho \"Makefile.am Exists - reconfiguring...\"\nautoreconf --force --install -I config -I m4\necho\necho\necho \"************************************\"\necho \"** Now run mkdir build ; cd build ; ../configure --host=avr **\"\necho \"************************************\"\nexit\nfi\necho \"Lets get your project started!\"\n\necho '## Process this file with automake to produce Makefile.in' >> Makefile.am\necho No Makefile.am\n"
end
end
|