testディレクトリーにAutotest.mkによるテスト機能を実装
[makefiles.git] / latex_mk / test / bibtex / Makefile
index e4e9137..b6dac59 100644 (file)
@@ -1,29 +1,2 @@
-.PHONY: all bib-update bib-rebase body-update rebase clean distclean
-
-CAT := cat
-CMP := cmp -s
-SED := sed
-
-TEXTARGETS := bibtex.pdf
-
-all: $(TEXTARGETS)
-
-include latex.mk
-
-rebase: bib-rebase body-rebase
-
-bib-update: bib-rebase
-       $(CAT) jpnbook_add.bib >>jpnbook.bib
-
-bib-rebase:
-       $(CMP) jpnbook.bib.base jpnbook.bib || $(CP) jpnbook.bib.base jpnbook.bib
-
-body-update: body-rebase
-       $(SED) -i s/bibtexのテスト。/bibtexのテスト。本文だけ変更。/ bibtex.tex
-
-body-rebase:
-       $(CMP) bibtex.tex.base bibtex.tex || $(CP) bibtex.tex.base bibtex.tex
-
-clean: tex-clean
-
-distclean: rebase tex-distclean
+include ../Define.mk
+include ../Test.mk