From 75b2837a9a230c411312a4cb61c7abc332255dff Mon Sep 17 00:00:00 2001 From: j8takagi Date: Wed, 4 Dec 2013 23:38:39 +0900 Subject: [PATCH] =?utf8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=81=AEMakefile?= =?utf8?q?=E3=81=AE=E8=A8=98=E8=BF=B0=E3=82=92=E3=80=81GNU=E4=BB=A5?= =?utf8?q?=E5=A4=96=E3=81=AEsed=E3=81=AB=E3=82=82=E5=AF=BE=E5=BF=9C?= =?utf8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- latex_mk/test/bibtex/Makefile | 5 +++-- latex_mk/test/makeindex/Makefile | 5 +++-- latex_mk/test/simple/Makefile | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/latex_mk/test/bibtex/Makefile b/latex_mk/test/bibtex/Makefile index d92ec90..8373ada 100644 --- a/latex_mk/test/bibtex/Makefile +++ b/latex_mk/test/bibtex/Makefile @@ -55,12 +55,13 @@ bib-rebase: $(CMP) jpnbook.bib.base jpnbook.bib || $(CP) -v jpnbook.bib.base jpnbook.bib body-update: body-rebase - $(SED) -i -e 's/本文変更なし。/本文を変更。/' bibtex.tex + $(SED) -i.bak -e 's/本文変更なし。/本文を変更。/' bibtex.tex body-rebase: $(CMP) bibtex.tex.base bibtex.tex || $(CP) -v bibtex.tex.base bibtex.tex clean: tex-clean + $(RM) *.bak -distclean: rebase tex-distclean +distclean: rebase clean tex-distclean $(RM) bibtex_*.pdf diff --git a/latex_mk/test/makeindex/Makefile b/latex_mk/test/makeindex/Makefile index 596c948..c6e0f03 100644 --- a/latex_mk/test/makeindex/Makefile +++ b/latex_mk/test/makeindex/Makefile @@ -30,10 +30,10 @@ makeindex_3.pdf: index-update @$(CP) -v makeindex.pdf $@ body-update: - $(SED) -i -e 's/本文変更なし。/本文を変更。/' makeindex.tex + $(SED) -i.bak -e 's/本文変更なし。/本文を変更。/' makeindex.tex index-update: - $(SED) -i -e 's/楽譜の/楽譜\\index{がくふ@楽譜}の/' makeindex.tex + $(SED) -i.bak -e 's/楽譜の/楽譜\\index{がくふ@楽譜}の/' makeindex.tex rebase: $(CMP) makeindex.tex.base makeindex.tex || $(CP) -v makeindex.tex.base makeindex.tex @@ -41,6 +41,7 @@ rebase: include latex.mk clean: tex-clean + $(RM) *.bak distclean: rebase clean tex-distclean $(RM) makeindex_*.pdf diff --git a/latex_mk/test/simple/Makefile b/latex_mk/test/simple/Makefile index 450570e..04ab342 100644 --- a/latex_mk/test/simple/Makefile +++ b/latex_mk/test/simple/Makefile @@ -23,7 +23,7 @@ simple_2.pdf: update @$(CP) -v simple.pdf $@ update: - $(SED) -i -e 's/,/、/g' -e 's/./。/g' simple.tex + $(SED) -i.bak -e 's/,/、/g' -e 's/./。/g' simple.tex rebase: $(CMP) simple.tex.base simple.tex || $(CP) -v simple.tex.base simple.tex @@ -31,6 +31,7 @@ rebase: include latex.mk clean: tex-clean + $(RM) *.bak -distclean: rebase tex-distclean +distclean: rebase clean tex-distclean $(RM) simple_*.pdf -- 2.18.0