@adubovikov try this ( without your patch)
```
diff --git a/src/Makefile b/src/Makefile
index bbf5f8db8..612bea918 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -609,25 +609,27 @@ bin:
.PHONY: deb
deb:
- -@if [ -d debian ]; then \
+ (cd ..; \
+ if [ -d debian ]; then \
dpkg-buildpackage -rfakeroot -tc; \
rm debian; \
else \
- ln -s ../pkg/$(MAIN_NAME)/deb/debian debian; \
+ ln -s pkg/$(MAIN_NAME)/deb/debian debian; \
dpkg-buildpackage -rfakeroot -tc; \
rm debian; \
- fi
+ fi)
.PHONY: deb-stable
deb-stable:
- -@if [ -d debian ]; then \
+ (cd ..; \
+ if [ -d debian ]; then \
dpkg-buildpackage -rfakeroot -tc; \
rm debian; \
else \
- ln -s ../pkg/$(MAIN_NAME)/deb/jessie debian; \
+ ln -s pkg/$(MAIN_NAME)/deb/jessie debian; \
dpkg-buildpackage -rfakeroot -tc; \
rm debian; \
- fi
+ fi)
.PHONY: sunpkg
sunpkg:
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1143#issuecomment-305529693