]> git.puffer.fish Git - matthieu/frr.git/commitdiff
build: move SPHINXBUILD= to configure in rpm build
authorDavid Lamparter <equinox@opensourcerouting.org>
Sat, 8 Sep 2018 12:59:24 +0000 (14:59 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sun, 9 Sep 2018 18:01:08 +0000 (20:01 +0200)
Need to pass this on configure now to work properly.

Signed-off-by: David Lamparter <equinox@diac24.net>
doc/developer/building-frr-for-centos6.rst
redhat/README.rpm_build.md
redhat/frr.spec.in

index d4c2c3bfd0a5dbd50eada7f48fb9b5422f56c3c9..fd75854452eb2bc6e5fe89cb799babc473417a6a 100644 (file)
@@ -168,10 +168,11 @@ an example.)
         --enable-eigrpd \
         --enable-babeld \
         --with-pkg-git-version \
-        --with-pkg-extra-version=-MyOwnFRRVersion
-    make SPHINXBUILD=sphinx-build2.7
-    make check PYTHON=/usr/bin/python2.7 SPHINXBUILD=sphinx-build2.7
-    sudo make SPHINXBUILD=sphinx-build2.7 install
+        --with-pkg-extra-version=-MyOwnFRRVersion \
+        SPHINXBUILD=sphinx-build2.7
+    make
+    make check PYTHON=/usr/bin/python2.7
+    sudo make install
 
 Create empty FRR configuration files
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
index 93a731d685e91d8f82437869f22a6a2f03b838c4..a3f095786d817f11cdc93450982dd0ffadcca0e3 100644 (file)
@@ -27,8 +27,9 @@ Building your own FRRouting RPM
 
         cd frr
         ./bootstrap.sh
-        ./configure --with-pkg-extra-version=-MyRPMVersion
-        make SPHINXBUILD=sphinx-build2.7 dist
+        ./configure --with-pkg-extra-version=-MyRPMVersion \
+            SPHINXBUILD=sphinx-build2.7
+        make dist
             
     Note: configure parameters are not important for the RPM building - except the `with-pkg-extra-version` if you want to give the RPM a specific name to
     mark your own unoffical build
index d001f3c3958de8fc2114fe72daace38c37da892c..9c232c2bd5529106a5f47e171d0cdeccc7e26796 100644 (file)
@@ -343,22 +343,23 @@ developing OSPF-API and frr applications.
     --disable-rpki \
 %endif
 %if %{with_bfdd}
-    --enable-bfdd
+    --enable-bfdd \
 %else
-    --disable-bfdd
+    --disable-bfdd \
 %endif
+    SPHINXBUILD=%{sphinx}
 
-make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" SPHINXBUILD=%{sphinx}
+make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
 
 pushd doc
-make SPHINXBUILD=%{sphinx} info
+make info
 popd
 
 
 %install
 mkdir -p %{buildroot}%{_sysconfdir}/{frr,sysconfig,logrotate.d,pam.d,default} \
          %{buildroot}%{_localstatedir}/log/frr %{buildroot}%{_infodir}
-make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" SPHINXBUILD=%{sphinx} install
+make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" install
 
 # Remove this file, as it is uninstalled and causes errors when building on RH9
 rm -rf %{buildroot}/usr/share/info/dir