puts '#'
puts '# This file is automatically generated. DO NOT MODIFY!'
ARGF.each do |line|
  if /\Arequire 'setup\/(\S+)'/ =~ line
    File.open($1 + '.rb') {|f|
      print f.read
    }
  else
    print line
  end
end
