gtagsがない場合に発生するエラーを回避 v0.1p47
authorj8takagi <info@j8takagi.net>
Tue, 23 Oct 2012 16:42:37 +0000 (01:42 +0900)
committerj8takagi <info@j8takagi.net>
Tue, 23 Oct 2012 16:42:37 +0000 (01:42 +0900)
Makefile

index 01f60a9..a84983c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ doxygen: doc_inner
        @$(DOXYGEN)
 
 gtags: clean_gtags
-       @$(GTAGS)
+       @if test `which $(GTAGS)`; then $(GTAGS); fi
 
 htags: doc_inner
        @$(MAKE) clean_htags