diff options
author | Masamichi Hosoda <trueroad@sea.plala.or.jp> | 2015-04-28 14:29:52 +0100 |
---|---|---|
committer | James Lowe <pkx166h@gmail.com> | 2015-04-28 15:02:06 +0100 |
commit | 8dd74d9902782edbd3a1f0dddcaeca29759b7be1 (patch) | |
tree | eeeba49ada519f1337204f5b1d6920710fc5e642 /stepmake | |
parent | 3ca81140f81875a399777cfffe14cdd32c74f7c8 (diff) |
Rename makefile variable TMP
Issue 4353
Rename makefile variable TMP
Windows (cygwin and mingw)
system uses environment
variable TMP for a special
purpose. It can not be used
for other purpose like
makefile variable.
Diffstat (limited to 'stepmake')
-rw-r--r-- | stepmake/stepmake/metafont-rules.make | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stepmake/stepmake/metafont-rules.make b/stepmake/stepmake/metafont-rules.make index 1db797468f..45ff320f46 100644 --- a/stepmake/stepmake/metafont-rules.make +++ b/stepmake/stepmake/metafont-rules.make @@ -19,15 +19,15 @@ $(outdir)/%.tfm $(outdir)/%.log: %.mf # the soft link for mf2pt1.mp is for recent mpost versions # which no longer dump a .mem file $(outdir)/%.pfb: %.mf $(outdir)/mf2pt1.mem $(outdir)/%.log - $(DO_MF_DEP) TMP=`mktemp -d $(outdir)/pfbtemp.$*.XXXXXXXXX` \ - && ( cd $$TMP \ + $(DO_MF_DEP) TMP_DIR=`mktemp -d $(outdir)/pfbtemp.$*.XXXXXXXXX` \ + && ( cd $$TMP_DIR \ && ln -s ../mf2pt1.mem . \ && ln -s ../../mf2pt1.mp . \ && MFINPUTS=$(abs-src-dir):..:: \ FONTFORGE=$(FONTFORGE) \ $(buildscript-dir)/mf2pt1 $(MF2PT1_OPTIONS) $< $(METAFONT_QUIET)) \ - && mv $$TMP/*pfb $(outdir); \ - rm -rf $$TMP + && mv $$TMP_DIR/*pfb $(outdir); \ + rm -rf $$TMP_DIR # since recent mpost versions no longer create a mem file, we create a dummy # file to satisfy the dependency (which gets overwritten in case an older |