[sr-dev] git:master:7e75b000: Makefile.rules: print error message if path to modules is given wrong

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 8 18:36:40 CET 2016


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-12-08T18:33:29+01:00

Makefile.rules: print error message if path to modules is given wrong

---

Modified: src/Makefile.rules

---

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

---

diff --git a/src/Makefile.rules b/src/Makefile.rules
index 2cdffa1..4d73a68 100644
--- a/src/Makefile.rules
+++ b/src/Makefile.rules
@@ -85,6 +85,9 @@ module_make=	if [ -n "$(1)" -a -r "$(1)/Makefile" ]; then \
 			else \
 				exit 1; \
 			fi ; \
+		else \
+			echo module not found: $(1) ; \
+			exit 1; \
 		fi ;
 
 quote:= "




More information about the sr-dev mailing list