[sr-dev] git:master:d72c3f2c: Makefile: give warning when old modules directory is found

Mikko Lehto mslehto at iki.fi
Sat Mar 16 07:36:32 CET 2019


Module: kamailio
Branch: master
Commit: d72c3f2c960b7db10aec3fa6cc6b2f39ab03ace4
URL: https://github.com/kamailio/kamailio/commit/d72c3f2c960b7db10aec3fa6cc6b2f39ab03ace4

Author: Mikko Lehto <mslehto at iki.fi>
Committer: Mikko Lehto <mslehto at iki.fi>
Date: 2019-03-13T22:16:26+02:00

Makefile: give warning when old modules directory is found

---

Modified: Makefile

---

Diff:  https://github.com/kamailio/kamailio/commit/d72c3f2c960b7db10aec3fa6cc6b2f39ab03ace4.diff
Patch: https://github.com/kamailio/kamailio/commit/d72c3f2c960b7db10aec3fa6cc6b2f39ab03ace4.patch

---

diff --git a/Makefile b/Makefile
index f0df1b6396..6d4abe6e90 100644
--- a/Makefile
+++ b/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=




More information about the sr-dev mailing list