浏览代码

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=