$(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
@$(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
include latex.mk
clean: tex-clean
+ $(RM) *.bak
distclean: rebase clean tex-distclean
$(RM) makeindex_*.pdf
@$(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
include latex.mk
clean: tex-clean
+ $(RM) *.bak
-distclean: rebase tex-distclean
+distclean: rebase clean tex-distclean
$(RM) simple_*.pdf