diff --git a/Makefile.am b/Makefile.am index 9c289e7..3ca2de5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,3 +20,5 @@ sbin_PROGRAMS = iprange dist_noinst_DATA = iprange.spec iprange_SOURCES = iprange.c + +EXTRA_DIST = README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d9711bb --- /dev/null +++ b/README.md @@ -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 +~~~~ diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..fec911c --- /dev/null +++ b/autogen.sh @@ -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