Module: sip-router
Branch: kamailio_3.0
Commit: 5ad4520bfdec47b6e3a85f9e120095b00eeb2aca
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5ad4520…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Dec 11 20:08:01 2009 +0100
use pkg/$NAME/debian to generate deb
- priority over pkg/debian
- good for generating debs per distro name
---
Makefile | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 9e7dc9f..16f3dbb 100644
--- a/Makefile
+++ b/Makefile
@@ -791,6 +791,10 @@ bin:
deb:
-@if [ -d debian ]; then \
dpkg-buildpackage -rfakeroot -tc; \
+ elif [ -d pkg/$(MAIN_NAME)/debian ]; then \
+ ln -s pkg/$(MAIN_NAME)/debian debian; \
+ dpkg-buildpackage -rfakeroot -tc; \
+ rm debian; \
else \
ln -s pkg/debian debian; \
dpkg-buildpackage -rfakeroot -tc; \