X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=doc_inner%2FMakefile;fp=doc_inner%2FMakefile;h=7fb6b18dc57f835e0dacd6d972f0d5e7de388ad7;hp=68af59b4af0f544843bbeb4e4276c0c150b36707;hb=e41f2dc671c87d4f78c59056f1f55af566fcc2cb;hpb=910abe0d6a7e4bb1550a29015025b46331b8b8a0 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))