[tex-live] an issue with running dvipdfmx from a makefile
josef.kleber at gmx.de
Mon Oct 6 11:33:50 CEST 2014
Am 05.10.2014 um 23:21 schrieb Zdenek Wagner:
> 2014-10-05 23:00 GMT+02:00 Josef Kleber <josef.kleber at gmx.de>:
>> 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.
Where do you you see a difference? Unpacking a dtx file will always
overwrite all source files. If this is done by a makefile or a script
does not make a difference. A makefile does *not* always built
everthing. It depends on the default target, which can be a 'ls'
The rule is to change only the dtx file. Okay, i know editing a style
file is simpler and faster and i do it either. In my setup I have the
dtx file in the doc folder of a local TDS-tree inside a git repository.
So style files and scripts are unpacked in this doc folder and do not
overwrite the files in the tex and script folders. I have a git target
to copy the important files to these folders - which is not the default
target of the makefile. Therefore I can only overwrite edits in A.sty
with an explicit make git. See e.g.:
Therefore my test edits are safe. If it works I can copy the relevant
code into the dtx file and issue a make git.
More information about the tex-live