Skip to content

Commit

Permalink
Add a README and autogen.sh file for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
philwhineray committed Nov 15, 2015
1 parent 233f7d1 commit 84a06f6
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ sbin_PROGRAMS = iprange
dist_noinst_DATA = iprange.spec

iprange_SOURCES = iprange.c

EXTRA_DIST = README.md
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
iprange - manage IP ranges
==========================

Getting help
------------

~~~~
iprange --help 2>&1 | more
~~~~

Installation from tar-file
--------------------------

~~~~
./configure && make && make install
~~~~


Installation from git
---------------------


~~~~
./autogen.sh
./configure && make && make install
~~~~
19 changes: 19 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#! /bin/sh

TOPDIR=$(pwd)

export TOPDIR

[ -f Makefile ] && make -i maintainer-clean

rm --verbose --recursive --force autom4te.cache
find ${TOPDIR} -name 'Makefile.in' -exec rm --verbose \{\} \;

aclocal --warnings=all -I m4
automake --verbose --add-missing --gnu
autoreconf --verbose --warnings=all

rm -f configure.scan *~ *.log
find ${TOPDIR} -name '*~' -exec rm -f '{}' \;

exit 0

0 comments on commit 84a06f6

Please sign in to comment.