[tex-live] an issue with running dvipdfmx from a makefile
Josef Kleber
josef.kleber at gmx.de
Sun Oct 5 14:37:17 CEST 2014
Am 04.10.2014 um 23:35 schrieb jfbu:
>
> test: latex dvipdfmx
>
> latex:
> latex temp
>
> dvipdfmx:
> dvipdfmx temp
>
BTW, in such simple cases, you better use file names instead of targets:
test: temp.pdf
temp.dvi: temp.tex
latex temp
temp.pdf: temp.dvi
dvipdfmx temp
Then make can compare the timestamps of the files involved and execute
the rules only if necessary! That is the timestamp of temp.tex is
"newer" than of temp.dvi and so on.
$ make
latex temp
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX)
(preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./temp.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(c:/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(c:/texlive/2014/texmf-dist/tex/latex/base/size10.clo))
No file temp.aux.
[1] (./temp.aux) )
Output written on temp.dvi (1 page, 220 bytes).
Transcript written on temp.log.
dvipdfmx temp
temp -> temp.pdf
[1]
1786 bytes written
$ make
make: Nothing to be done for 'test'.
Josef
More information about the tex-live
mailing list