Skip to content

Commit

Permalink
docs: add docs about compile nodogsplash
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxis committed Nov 10, 2016
1 parent 16ffd50 commit a66cc91
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/source/compile.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
How to compile Nodogsplash
##########################

Linux/Unix
**********

Install libmicrohttpd including the header files (often call -dev package).

.. code::
git clone https://github.com/nodogsplash/nodogsplash.git
cd nodogsplash
make
If you installed the libmicrohttpd to another location please like /tmp/libmicrohttpd_install/
replace the make call with

.. code::
make CFLAGS="-I/tmp/libmicrohttpd_install/include" LDFLAGS="-L/tmp/libmicrohttpd_install/lib"
After compiling you can call ``make install`` to install nodogsplash to /usr/

OpenWrt
*******

To compile nodogsplash please ues the package definiton from the feeds package.

.. code::
cd openwrt
./scripts/feeds update
./scripts/feeds install nodogsplash

0 comments on commit a66cc91

Please sign in to comment.