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

Zdenek Wagner zdenek.wagner at gmail.com
Sun Oct 5 23:21:41 CEST 2014

2014-10-05 23:00 GMT+02:00 Josef Kleber <josef.kleber at gmx.de>:
> 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.

This is the same with .web files. Anyway, if you use pseudotargets,
they will always be built. In such a way using a script seems to me
better that using a Makefile where everythign is always built.

> 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.
> Josef

Zdeněk Wagner

More information about the tex-live mailing list