Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH 1/1] include tests/debug.mk only if exists
@ 2016-12-03 11:53 Christian Hesse
  2016-12-03 18:07 ` DMVPM appreciation John Huttley
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Hesse @ 2016-12-03 11:53 UTC (permalink / raw)
  To: wireguard; +Cc: Christian Hesse

From: Christian Hesse <mail@eworm.de>

DKMS packages do not contain tests/debug.mk, so do not include if it
does not exist.

Signed-off-by: Christian Hesse <mail@eworm.de>
---
 src/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Makefile b/src/Makefile
index 20947ac..370c2ea 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -36,6 +36,8 @@ check:
 cloc: clean
 	cloc $(filter-out compat.h, $(wildcard *.c) $(wildcard *.h))
 
+ifeq ($(wildcard tests/debug.mk),tests/debug.mk)
 include tests/debug.mk
+endif
 
 .PHONY: all module module-debug tools install clean core-cloc check version.h
-- 
2.10.2

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-04  5:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-03 11:53 [PATCH 1/1] include tests/debug.mk only if exists Christian Hesse
2016-12-03 18:07 ` DMVPM appreciation John Huttley
2016-12-03 18:48   ` Dave Taht
2016-12-04  3:01   ` Kalin KOZHUHAROV
2016-12-04  5:57   ` John Huttley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).