diff options
| author | Quentin Young <qlyoung@nvidia.com> | 2020-12-08 11:28:01 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2020-12-08 11:28:01 -0500 |
| commit | bcccb2248dfe4bee9d0eae2e36c9af2c902fd262 (patch) | |
| tree | 651c1cf8db00f4bcbe3f873acf3ecf7021757b11 | |
| parent | c4db9bfaaf1a6f0d55e7c7e11f3bf4fd9d337a91 (diff) | |
debian: clean up packaging stuff for scripting
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
| -rw-r--r-- | debian/control | 4 | ||||
| -rwxr-xr-x | debian/rules | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/debian/control b/debian/control index a5e22466cb..f0ad02d15c 100644 --- a/debian/control +++ b/debian/control @@ -29,8 +29,8 @@ Build-Depends: bison, python3-dev, python3-pytest <!nocheck>, python3-sphinx, - liblua5.3-dev, - texinfo (>= 4.7) + texinfo (>= 4.7), + liblua5.3-dev <!pkg.frr.nolua> Standards-Version: 4.5.0.3 Homepage: https://www.frrouting.org/ Vcs-Browser: https://github.com/FRRouting/frr/tree/debian/master diff --git a/debian/rules b/debian/rules index 6cc03c378a..2fd5bc75ef 100755 --- a/debian/rules +++ b/debian/rules @@ -29,6 +29,12 @@ else CONF_SYSTEMD=--enable-systemd=no endif +ifeq ($(filter pkg.frr.nolua,$(DEB_BUILD_PROFILES)),) + CONF_LUA=--enable-scripting +else + CONF_LUA=--disable-scripting +endif + export PYTHON=python3 %: @@ -49,6 +55,7 @@ override_dh_auto_configure: \ $(CONF_SYSTEMD) \ $(CONF_RPKI) \ + $(CONF_LUA) \ --with-libpam \ --enable-doc \ --enable-doc-html \ |
