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