From: Tomas Krizek Date: Tue, 6 Nov 2018 14:31:23 +0000 (+0100) Subject: doc: remove bootstrap-depends.sh example X-Git-Tag: v3.2.0~34^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa28e0012f7ad2bd63dc54ab1a0eaff1497b387d;p=thirdparty%2Fknot-resolver.git doc: remove bootstrap-depends.sh example --- diff --git a/Dockerfile b/Dockerfile index d2162dafd..6decf6225 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,7 +52,6 @@ COPY . /tmp/knot-resolver # Build Knot Resolver ARG CFLAGS="-O2 -fstack-protector -g" ENV LDFLAGS -Wl,--as-needed -ENV BUILD_IGNORE libedit-dev RUN cd /tmp/knot-resolver && \ make "-j$(nproc)" && \ make install DESTDIR=/tmp/root && \ diff --git a/doc/build.rst b/doc/build.rst index d638b68e8..55667a4e9 100644 --- a/doc/build.rst +++ b/doc/build.rst @@ -233,17 +233,6 @@ Optional dependencies may be disabled as well using ``HAS_x=yes|no`` variable. Try ``LD_LIBRARY_PATH`` on Linux/BSD, and ``DYLD_FALLBACK_LIBRARY_PATH`` on OS X. Otherwise you need to add the locations to linker search path. -Several dependencies may not be in the packages yet, the script pulls and installs all dependencies in a chroot. -You can avoid rebuilding dependencies by specifying `BUILD_IGNORE` variable, see the Dockerfile_ for example. -Usually you only really need to rebuild libknot_. - -.. code-block:: bash - - $ export FAKEROOT="${HOME}/.local" - $ export PKG_CONFIG_PATH="${FAKEROOT}/lib/pkgconfig" - $ export BUILD_IGNORE="..." # Ignore installed dependencies - $ ./scripts/bootstrap-depends.sh ${FAKEROOT} - Building extras ~~~~~~~~~~~~~~~