title: Building .proto and move .h
body: <p>I am trying to generate the C files from my .proto.<br>
  I was able to do it but they are generated in the same folder. After this i need to move the .h file into my include directory.<br>
  At this moment i am using the ProtoC Builder but there is no option to deliver the .h into a different folder. So i tried to do a Command Move after something like:<br></p>
  
  <pre><code>proto_files = localenv.Protoc(
      [],
      protoList,
      PROTOCPROTOPATH=[builddir],
      PROTOCPYTHONOUTDIR=None, # set to None to not generate python
      PROTOCOUTDIR = builddir, # defaults to same directory as .proto
      # PROTOCCPPOUTFLAGS = "dllexport_decl=PROTOCONFIG_EXPORT:", too
  )
  localenv.Command(proto_files[1], proto_files[1],
                 [
                  Move("$SRC",incFolder+"/$TARGET"),
                 ])
  </code></pre>
  
  <p>but when i run scons i have the following error: </p>
  
  <blockquote>
    <p>scons: <em>*</em> Two environments with different actions were specified for
    the same target:</p>
  </blockquote>
  
  <p>Any idea?</p>