On 3-3-2011 8:36, Peter Münster wrote:
Hello,

Here comes a little feature request: it would be nice, if context
allowed us to write a file with dependency information, like a
C-compiler does for the dependencies of a C-file on the included header
files. The best would be, to get such dependencies directly in Makefile
syntax.

Example:

Say you have a main context file "main.tex" that includes an environment
file "../env.tex" and a figure "subdir/figure.jpg", then running

     context --dependencies=main.d main

would create "main.pdf" and also "main.d" with this line:

     main.tex: ../env.tex subdir/figure.jpg


--directives=system.dumpfiles

should do that but it's currently broken (kicks on too soon due to directives being initialized earlier than before) .. i'll fix it

(but no make file output, at least not now as i never used make directly so i have no clue what goes in there)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to