Browse Source

src/Makefile: update deb rules

* deb-stable rule should use buster nowadays
* deb rule should point to sid

pkg/kamailio/deb/debian is not suppose to be used directly is just
a base for creating all the different flavors

fixes #2432
Victor Seva 5 years ago
parent
commit
a9807e1f58
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Makefile

+ 2 - 2
src/Makefile

@@ -614,7 +614,7 @@ deb:
 		dpkg-buildpackage -rfakeroot -tc -uc -us; \
 		rm debian; \
 	else \
-		ln -s pkg/$(MAIN_NAME)/deb/debian debian; \
+		ln -s pkg/$(MAIN_NAME)/deb/sid debian; \
 		dpkg-buildpackage -rfakeroot -tc -uc -us; \
 		rm debian; \
 	fi)
@@ -626,7 +626,7 @@ deb-stable:
 		dpkg-buildpackage -rfakeroot -tc -uc -us; \
 		rm debian; \
 	else \
-		ln -s pkg/$(MAIN_NAME)/deb/jessie debian; \
+		ln -s pkg/$(MAIN_NAME)/deb/buster debian; \
 		dpkg-buildpackage -rfakeroot -tc -uc -us; \
 		rm debian; \
 	fi)