• Copy scripts in MPC

    From dannywilson@mac.com@21:1/5 to All on Mon Oct 8 17:52:56 2018
    This isn't an ACE question per se but we're using MPC as part of a larger ACE/TAO project.

    Basically, I'd like to add a recipe to simply copy some scripts from one location to another.

    If I were writing the makefile directly it would be easy: just add another line to the appropriate recipe. But I don't know how to do it with MPC.

    I've tried variations of this code, but it creates a skeleton makefile which does nothing.

    project(jsonscripts) : ecp {

    Define_Custom(PHP) {
    command = cp <%input%> scripts/

    PHP_Files {

    Source_Files {

    Deleting the Source_Files or putting the php files into Source_Files creates a Makefile which tries to compile the *.php files with gcc.

    Any suggestions?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)