From e41f2dc671c87d4f78c59056f1f55af566fcc2cb Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sun, 14 Jul 2013 11:13:04 +0900 Subject: [PATCH] =?utf8?q?Makefile=E3=81=AE=E6=8E=A8=E6=95=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- doc_inner/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc_inner/Makefile b/doc_inner/Makefile index 68af59b..7fb6b18 100644 --- a/doc_inner/Makefile +++ b/doc_inner/Makefile @@ -7,7 +7,6 @@ DOXYGEN := doxygen ECHO := echo HTAGS := htags INSTALL := install -MAKE := make MV := mv RMR := rm -rf SED := sed @@ -20,10 +19,10 @@ GNU_GLOBAL_SRCDIR := .. CMETRICS_DIR := cmetrics CMETRICS_SRCDIR := ../src -# chk_file_ext: 指定されたファイルが実在する場合、エラー +# chk_file_ext: 指定されたコマンドが実在する場合にターゲットを指定。 # 用例: $(call chk_cmd_ext,cmd,target) define chk_cmd_ext - $(if $(strip $(shell $(WHICH) $1)),$2,,@$(ECHO) '$1: not found') + $(if $(strip $(shell $(WHICH) $1)),$2) endef all: $(call chk_cmd_ext,$(DOXYGEN),$(DOXYGEN_DIR)) $(call chk_cmd_ext,$(HTAGS),$(GNU_GLOBAL_DIR)) $(call chk_cmd_ext $(CMETRICS),$(CMETRICS_DIR)) -- 2.18.0