anchor.diff:          if not v: continue
           v = ":".join(map(str, v))
           print >>f, "MODULE_INFO(emc2, %s);" % q(v)
  -    print >>f, "#endif // __MODULE_INFO"
  +    print >>f, "#endif // MODULE_INFO"
       print >>f
  +
  +    license = finddoc('license')    
  +    if license and license[1]:
  +        print >>f, "MODULE_LICENSE(\"%s\");" % license[1].split("\n")[0]
   
       has_data = options.get("data")
   
  
positive.code:             raise SystemExit, "Component must have at least one pin"
          prologue(f)
          lineno = a.count("\n") + 3
          f.write("#line %d \"%s\"\n" % (lineno, filename))
          f.write(b)
          epilogue(f)
          f.close()
  
  
negative.code: 
  Usage:
      %(name)s [--install|--compile|--preprocess|--document] compfile...
      %(name)s [--install|--compile] [--userspace] cfile...
  """ % {'name': os.path.basename(sys.argv[0])}
      raise SystemExit, exitval
  
  def main():
      mode = PREPROCESS
      outfile = None
      userspace = False
      try:
          opts, args = getopt.getopt(sys.argv[1:], "uicpdo:h?",
                             ['install', 'compile', 'preprocess', 'outfile=',
                              'document', 'help', 'userspace'])
      except getopt.GetoptError:
          usage(1)
  
      for k, v in opts:
          if k in ("-u", "--userspace"):
              userspace = True
          if k in ("-i", "--install"):
              mode = INSTALL
          if k in ("-c", "--compile"):
  