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
- Host: GitHub
- URL: https://github.com/ac000/nginx-build-script
- Owner: ac000
- License: bsd-2-clause
- Created: 2025-06-06T02:20:11.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-06T02:25:50.000Z (about 1 year ago)
- Last Synced: 2025-06-06T03:26:46.215Z (about 1 year ago)
- Topics: configure, make, makefile, nginx
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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