26 lines
689 B
Diff
26 lines
689 B
Diff
|
From 881a8f56fb185c5de6e5fe2e60bb68bb4a771939 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
|
||
|
Date: Wed, 23 Sep 2020 11:58:17 +0200
|
||
|
Subject: [PATCH] add missing check in Makefile
|
||
|
|
||
|
---
|
||
|
Makefile | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/Makefile b/Makefile
|
||
|
index 39eaf14..0e8bf31 100644
|
||
|
--- a/Makefile
|
||
|
+++ b/Makefile
|
||
|
@@ -73,7 +73,7 @@ html: $(CFILES) query_capacity.h query_capacity_int.h query_capacity_data.h hcpi
|
||
|
else \
|
||
|
echo "Error: 'doxygen' not installed"; \
|
||
|
fi
|
||
|
-
|
||
|
+ -@if which cppcheck >/dev/null 2>&1; then \
|
||
|
cppcheck query_capacity*.[ch] 2>&1 | sed 's/^/ /'; \
|
||
|
else \
|
||
|
echo "cppcheck not available"; \
|
||
|
--
|
||
|
2.26.2
|
||
|
|