File: clean.patch

package info (click to toggle)
openvpn-dco-dkms 0.0%2Bgit20251017-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 472 kB
  • sloc: ansic: 5,296; sh: 315; makefile: 77
file content (14 lines) | stat: -rw-r--r-- 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Andreas Beckmann <anbe@debian.org>
Description: don't fail clean in the -dkms package which doesn't have tests/

--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ clean:
 	$(RM) psk_client
 	$(RM) compat-autoconf.h*
 	$(MAKE) -C $(KERNEL_SRC) $(BUILD_FLAGS) clean
-	$(MAKE) -C tests clean
+	test ! -d tests || $(MAKE) -C tests clean
 
 install: config
 	$(MAKE) -C $(KERNEL_SRC) $(BUILD_FLAGS) modules_install