From bb95c51b82f2a7b97ab4050fff014b2a4787a0bd Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 29 Nov 2018 00:19:38 +0100 Subject: Add building and testing instructions. --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 17a4ec5..ed242a5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ ipaddrcheck =========== +## Using + An IPv4 and IPv6 validation utility for use in scripts Depends on libcidr by Matthew Fuller (http://www.over-yonder.net/~fullermd/projects/libcidr) and libpcre. @@ -44,3 +46,18 @@ Depends on libcidr by Matthew Fuller (http://www.over-yonder.net/~fullermd/proje 1 if check failed, 2 if a problem occured (wrong option, internal error etc.) +## Building + +Building from source: + +``` +autoreconf -i +./configure +make && make install +``` + +Running unit tests: + +``` +make check +``` -- cgit v1.2.3