From: j8takagi Date: Wed, 4 Dec 2013 15:46:13 +0000 (+0900) Subject: .flsファイルがMac OS Xで正常に作成できない問題を修正 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40d34f041fb6566516e8e2befe24df2f6b14aa69;p=makefiles.git .flsファイルがMac OS Xで正常に作成できない問題を修正 --- diff --git a/latex_mk/latex.mk b/latex_mk/latex.mk index c993d44..f157113 100644 --- a/latex_mk/latex.mk +++ b/latex_mk/latex.mk @@ -196,8 +196,7 @@ FLSDIR := .fls.temp FLSCMD = $(LATEX) -interaction=nonstopmode -recorder -output-directory=$(FLSDIR) $(BASE).tex GENERETE.fls = \ - test ! -e $(FLSDIR) && $(MKDIR) $(FLSDIR) || \ - test ! -d $(FLSDIR) && ($(ECHO) 'File $(FLSDIR) already exists and not a directory.' 1>&2; exit 1); \ + test ! -e $(FLSDIR) && $(MKDIR) $(FLSDIR); \ $(FLSCMD) 1>/dev/null 2>&1; \ $(SED) -e 's|$(FLSDIR)/||g' $(FLSDIR)/$(BASE).fls >$(BASE).fls; \ test -e $(BASE).fls && \