projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
910abe0
)
Makefileの推敲
author
j8takagi
<j8takagi@nifty.com>
Sun, 14 Jul 2013 02:13:04 +0000
(11:13 +0900)
committer
j8takagi
<j8takagi@nifty.com>
Sun, 14 Jul 2013 02:13:04 +0000
(11:13 +0900)
doc_inner/Makefile
patch
|
blob
|
history
diff --git
a/doc_inner/Makefile
b/doc_inner/Makefile
index
68af59b
..
7fb6b18
100644
(file)
--- a/
doc_inner/Makefile
+++ b/
doc_inner/Makefile
@@
-7,7
+7,6
@@
DOXYGEN := doxygen
ECHO := echo
HTAGS := htags
INSTALL := install
ECHO := echo
HTAGS := htags
INSTALL := install
-MAKE := make
MV := mv
RMR := rm -rf
SED := sed
MV := mv
RMR := rm -rf
SED := sed
@@
-20,10
+19,10
@@
GNU_GLOBAL_SRCDIR := ..
CMETRICS_DIR := cmetrics
CMETRICS_SRCDIR := ../src
CMETRICS_DIR := cmetrics
CMETRICS_SRCDIR := ../src
-# chk_file_ext: æ
\8c
\87
å®
\9a
ã
\81
\95
ã
\82
\8c
ã
\81
\9f
ã
\83
\95
ã
\82
¡ã
\82
¤ã
\83
«ã
\81
\8c
å®
\9f
å
\9c
¨ã
\81
\99
ã
\82
\8b
å ´å
\90
\88
ã
\80
\81
ã
\82
¨ã
\83
©ã
\83
¼
+# chk_file_ext: æ
\8c
\87
å®
\9a
ã
\81
\95
ã
\82
\8c
ã
\81
\9f
ã
\82
³ã
\83
\9e
ã
\83
³ã
\83
\89
ã
\81
\8c
å®
\9f
å
\9c
¨ã
\81
\99
ã
\82
\8b
å ´å
\90
\88
ã
\81
«ã
\82
¿ã
\83
¼ã
\82
²ã
\83
\83
ã
\83
\88
ã
\82
\92
æ
\8c
\87
å®
\9a
ã
\80
\82
# 用例: $(call chk_cmd_ext,cmd,target)
define chk_cmd_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))
endef
all: $(call chk_cmd_ext,$(DOXYGEN),$(DOXYGEN_DIR)) $(call chk_cmd_ext,$(HTAGS),$(GNU_GLOBAL_DIR)) $(call chk_cmd_ext $(CMETRICS),$(CMETRICS_DIR))