[sr-dev] [kamailio/kamailio] pkg: fixed location of ChangeLog (#1143)

Victor Seva notifications at github.com
Thu Jun 1 17:29:12 CEST 2017


@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:
-       - at 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:
-       - at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170601/5d421ec5/attachment.html>


More information about the sr-dev mailing list