From: j8takagi Date: Sat, 20 Jul 2013 02:46:23 +0000 (+0900) Subject: latex.mkで、*.dファイルが正常に作成できないバグを修正 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0922fb59ab6071087753e9d67171b257e41123fa;p=makefiles.git latex.mkで、*.dファイルが正常に作成できないバグを修正 --- diff --git a/latex_mk/latex.mk b/latex_mk/latex.mk index a63e131..d797806 100644 --- a/latex_mk/latex.mk +++ b/latex_mk/latex.mk @@ -15,7 +15,7 @@ BIBTEX := pbibtex MENDEX := mendex #LaTeXオプション -interaction ?= batchmode +interaction ?= nonstopmode LATEXFLAG ?= DVIPDFMXFLAG ?= EXTRACTBBFLAGS ?= @@ -78,9 +78,9 @@ GREP-makeindex = $(GREP) -F $(MAKEINDEX) $< %.d: %.tex @$(ECHO) '$@ is created by scanning $^.' # texファイルの依存関係 - @(($(ECHO) '$(subst .tex,.dvi,$<) $(subst .tex,.aux,$<) $(subst .tex,.d,$<): $<'; \ - $(ECHO); \ - $(ECHO) '$(subst .tex,.prev_aux,$<):') >$@) + @($(ECHO) '$(subst .tex,.dvi,$<) $(subst .tex,.aux,$<) $(subst .tex,.d,$<): $<' >$@; \ + $(ECHO); \ + $(ECHO) '$(subst .tex,.prev_aux,$<):' >>$@) # Include/Inputファイルの依存関係 $(if $(intex),@( \ $(ECHO); \