Menu

could gri create a dependecy file?

2004-08-09
2013-04-24
  • Gerald Weber

    Gerald Weber - 2004-08-09

    Would it be possible for gri to create a dependency file to be used with make?

    What I have in mind is basically this:
    gri test
    this creates a file test.d which lists all files opened by gri when it processed test.gri

    The format would be simply this:
    test.ps: test.gri file1.dat script.gri <and so on>

    this could be inserted in a Makefile with the "insert" keyword and would allow automatic dependencies for gri scripts.

    what do you think?

     
    • Dan Kelley

      Dan Kelley - 2005-02-16

      I suppose that could be done, but it's difficult to make it work fully.  A gri file can open a data file that contains the name of a second data file to be used; in such a circumstance, your suggestion could not be done.

       

Log in to post a comment.

MongoDB Logo MongoDB