Module: kamailio Branch: 5.0 Commit: 6c777c277e90e8e17196a1172fabd90b17b7cd63 URL: https://github.com/kamailio/kamailio/commit/6c777c277e90e8e17196a1172fabd90b...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2017-06-02T11:46:39+02:00
src/Makefile: fix make deb rules
* dpkg-buildpackage needs to be executed from the root of the project * don't sign any file
(cherry picked from commit d0bfefd0f03962b61162eeb65fe01e8dff91674f)
---
Modified: src/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/6c777c277e90e8e17196a1172fabd90b... Patch: https://github.com/kamailio/kamailio/commit/6c777c277e90e8e17196a1172fabd90b...
---
diff --git a/src/Makefile b/src/Makefile index bbf5f8db8a..2bbbdc3c89 100644 --- a/src/Makefile +++ b/src/Makefile @@ -609,25 +609,27 @@ bin:
.PHONY: deb deb: - -@if [ -d debian ]; then \ - dpkg-buildpackage -rfakeroot -tc; \ + (cd ..; \ + if [ -d debian ]; then \ + dpkg-buildpackage -rfakeroot -tc --no-sign; \ rm debian; \ else \ - ln -s ../pkg/$(MAIN_NAME)/deb/debian debian; \ - dpkg-buildpackage -rfakeroot -tc; \ + ln -s pkg/$(MAIN_NAME)/deb/debian debian; \ + dpkg-buildpackage -rfakeroot -tc --no-sign; \ rm debian; \ - fi + fi)
.PHONY: deb-stable deb-stable: - -@if [ -d debian ]; then \ - dpkg-buildpackage -rfakeroot -tc; \ + (cd ..; \ + if [ -d debian ]; then \ + dpkg-buildpackage -rfakeroot -tc --no-sign; \ rm debian; \ else \ - ln -s ../pkg/$(MAIN_NAME)/deb/jessie debian; \ - dpkg-buildpackage -rfakeroot -tc; \ + ln -s pkg/$(MAIN_NAME)/deb/jessie debian; \ + dpkg-buildpackage -rfakeroot -tc --no-sign; \ rm debian; \ - fi + fi)
.PHONY: sunpkg sunpkg: