latex_mkディレクトリーでMakeをするとテスト実行するよう仕様変更
[makefiles.git] / latex_mk / Makefile
index 64fde09..ef71f59 100644 (file)
@@ -1,20 +1,7 @@
-# texファイルから作成されるpdfまたはdviファイルを
-# ターゲットファイルとして指定
-#
-# make および make all でのターゲットファイルになるほか、
-# latex.mkで、ターゲットファイルに対応する依存関係が
-# 自動的に作成されてdファイルに格納される。
-# また、tex-distcleanの削除対象になる。
-#
-# 初期設定では、ディレクトリにあるすべてのtexファイル
-TARGETS := $(subst .tex,.pdf,$(wildcard *.tex))
+.PHONY: test clean
 
-.PHONY: all clean distclean
+test:
+       $(MAKE) -sC test check
 
-all: $(TARGETS)
-
-include latex.mk
-
-clean: tex-clean
-
-distclean: tex-distclean
+clean:
+       $(MAKE) -sC test clean