Browse code

Makefile: give warning when old modules directory is found

Mikko Lehto authored on 13/03/2019 19:14:29
Showing 1 changed files
... ...
@@ -10,6 +10,9 @@ KSR_DIR ?= src/
10 10
 # default target for makefile
11 11
 .DEFAULT_GOAL := default
12 12
 
13
+ifneq ($(wildcard modules),)
14
+$(warning "old Kamailio modules directory found, you should clean that")
15
+endif
13 16
 
14 17
 # strip the src/ from the path to modules
15 18
 SMODPARAM=