| 1 | Author: Andreas Beckmann <[email protected]> |
| 2 | Description: don't fail clean in the -dkms package which doesn't have tests/ |
| 3 | |
| 4 | --- a/Makefile |
| 5 | +++ b/Makefile |
| 6 | @@ -54,7 +54,7 @@ clean: |
| 7 | $(RM) psk_client |
| 8 | $(RM) compat-autoconf.h* |
| 9 | $(MAKE) -C $(KERNEL_SRC) $(BUILD_FLAGS) clean |
| 10 | - $(MAKE) -C tests clean |
| 11 | + test ! -d tests || $(MAKE) -C tests clean |
| 12 | |
| 13 | install: config |
| 14 | $(MAKE) -C $(KERNEL_SRC) $(BUILD_FLAGS) modules_install |