anchor.diff:      for v in docs:
           if not v: continue
           v = ":".join(map(str, v))
  -        print >>f, "MODULE_INFO(emc2, %s);" % q(v)
  +        print >>f, "MODULE_INFO(linuxcnc, %s);" % q(v)
           license = finddoc('license')
       if license and license[1]:
           print >>f, "MODULE_LICENSE(\"%s\");" % license[1].split("\n")[0]
  
positive.code:     makefile = os.path.join(tempdir, "Makefile")
      f = open(makefile, "w")
      print >>f, "%s: %s" % (binname, filename)
      print >>f, "\t$(CC) $(EXTRA_CFLAGS) -URTAPI -U__MODULE__ -DULAPI -Os %s -o $@ $< -Wl,-rpath,$(LIBDIR) -L$(LIBDIR) -lemchal %s" % (
          options.get("extra_compile_args", ""),
          options.get("extra_link_args", ""))
      print >>f, "include %s" % find_modinc()
  
negative.code:         shutil.rmtree(tempdir) 
  
  def usage(exitval=0):
      print """%(name)s: Build, compile, and install LinuxCNC HAL components
  
  Usage:
             %(name)s [--compile|--preprocess|--document|--view-doc] compfile...
  