[tex-live] an issue with running dvipdfmx from a makefile

Josef Kleber josef.kleber at gmx.de
Sun Oct 5 23:00:35 CEST 2014

Am 05.10.2014 um 19:17 schrieb jfbu:
> What in a situation where many files are produced by a single tex stuff.dtx ?
> (my dtx does not use an .ins file)
> assuming stuff.dtx -> A.sty and B.sty,
> is there a way to configure make so that it won't do tex stuff.dtx even
>   if A.sty is older than stuff.dtx, as long as B.sty is newer than stuff.dtx ?
> thus tex stuff.dtx would be done only if both A.sty and B.sty (and others) are older
> than stuff.dtx ?

I don't think that's possible. If stuff.dtx is newer than one of files 
depending on stuff.dtx the rule will be executed, that is tex stuff.dtx 
will overwrite all files. dtx files are a weird concept for make.
In the context of programming (the typical C example with several c 
files that are compiled into objects and then linked) the greedy 
behavior makes sense.


More information about the tex-live mailing list