An open API service indexing awesome lists of open source software.

https://github.com/ac000/nginx-build-script

Enhance the nginx build experience
https://github.com/ac000/nginx-build-script

configure make makefile nginx

Last synced: about 1 month ago
JSON representation

Enhance the nginx build experience

Awesome Lists containing this project

README

          

nginx-build-script
==================

Enhance the building of nginx with the following features

- Split ``clean`` & ``mrproper`` targets. ``clean`` just removes object
files & binaries, ``mrproper`` cleans all
- A ``tags`` target for generating a ctags file
- Enhance the ``objs/Makefile`` with ``D``, ``E`` & ``EXTRA_CFLAGS`` variables.
``D`` = 1 sets ``-O0``, ``E`` = 0 disables ``-Werror``

Usage
-----

Just copy the ``cnginx`` and ``Makefile.ac`` into the nginx repository root.
You can call ``cnginx`` whatever you like.

Edit the ``PREFIX`` variable in ``cnginx`` as desired. This will be the
default installation prefix. You can override it with ``--prefix=``.

Then instead of calling ``auto/configure`` you call ``./cnginx``, passing all
the same arguments you would to ``auto/configure``.

License
-------

`BSD-2-Clause license `__

Andrew Clayton