@@ -4,13 +4,16 @@
4Makefile Targets
4Makefile Targets
5================
5================
7+.. _gnu-make: https://www.gnu.org/software/make/manual/make.html#Introduction
7.. sidebar:: build environment
9.. sidebar:: build environment
9 Before looking deeper at the targets, first read about :ref:`makefile setup`
11 Before looking deeper at the targets, first read about :ref:`makefile setup`
10 and :ref:`make pyenv`.
12 and :ref:`make pyenv`.
12With the aim to simplify development cycles, started with :pull:`1756` a
14With the aim to simplify development cycles, started with :pull:`1756` a
13−``Makefile`` based boilerplate was added.
15+``Makefile`` based boilerplate was added. If you are not familiar with
16+Makefiles, we recommend to read gnu-make_ introduction.
15The usage is simple, just type ``make {target-name}`` to *build* a target.
18The usage is simple, just type ``make {target-name}`` to *build* a target.
16Calling the ``help`` target gives a first overview::
19Calling the ``help`` target gives a first overview::
@@ -77,7 +80,7 @@ and release a ``make pyenv``:
79With target ``pyenv`` a development environment (aka virtualenv) was build up in
82With target ``pyenv`` a development environment (aka virtualenv) was build up in
80−``./local/py3/``. To make a *developer install** of searx (:origin:`setup.py`)
83+``./local/py3/``. To make a *developer install* of searx (:origin:`setup.py`)
81into this environment make target ``install``
84into this environment make target ``install``
83.. code:: sh
86.. code:: sh
@@ -108,8 +111,9 @@ the :origin:`setup.py` file (or the requirements listed in
108============
111============
110To get up a running a developer instance simply call ``make run``. This enables
113To get up a running a developer instance simply call ``make run``. This enables
111−*debug* option in :origin:`searx/settings.yml`, starts ``./searx/webapp.py``
114+*debug* option in :origin:`searx/settings.yml`, starts a ``./searx/webapp.py``
112−instance, disables *debug* option and opens the site (xdg-open):
115+instance, disables *debug* option again and opens the URL in your favorite WEB
116+browser (:man:`xdg-open`):
114.. code:: sh
118.. code:: sh