Переглянути джерело

Merge pull request #1891 from mslehto/old_modules_dir

Makefile: give warning when old modules directory is found
Daniel-Constantin Mierla 6 роки тому
батько
коміт
b84859acc2
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      Makefile

+ 3 - 0
Makefile

@@ -10,6 +10,9 @@ KSR_DIR ?= src/
 # default target for makefile
 .DEFAULT_GOAL := default
 
+ifneq ($(wildcard modules),)
+$(warning "old Kamailio modules directory found, you should clean that")
+endif
 
 # strip the src/ from the path to modules
 SMODPARAM=