]> git.proxmox.com Git - frr.git/blobdiff - Makefile
update patches
[frr.git] / Makefile
index 18861d0c9be430b3429d96a922885d60b47c7efc..5ed61ca3b84d036925d4873390da487041ae3fd0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=frr
-VER=6.0
-PKGREL=0+pve
+VER=7.4
+PKGREL=1+pve
 
 SRCDIR=frr
 BUILDDIR=${SRCDIR}.tmp
@@ -16,7 +16,7 @@ all: ${DEB}
 
 .PHONY: submodule
 submodule:
-       test -f "${SRCDIR}/debianpkg/changelog" || git submodule update --init
+       test -f "${SRCDIR}/debian/changelog" || git submodule update --init
 
 .PHONY: deb
 deb: ${DEB}
@@ -24,8 +24,9 @@ ${DEB}: | submodule
        rm -f *.deb
        rm -rf $(BUILDDIR)
        cp -rpa ${SRCDIR} ${BUILDDIR}
-       cp -a debian ${BUILDDIR}
-       cd ${BUILDDIR}; dpkg-buildpackage -rfakeroot -b -uc -us
+       rm $(BUILDDIR)/debian/changelog
+       cp -R debian/* $(BUILDDIR)/debian/
+       cd ${BUILDDIR};  DEB_BUILD_PROFILES=pkg.frr.nortrlib dpkg-buildpackage -rfakeroot -b -uc -us
 
 .PHONY: upload
 upload: ${DEB}