-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a README and autogen.sh file for installation
- Loading branch information
1 parent
233f7d1
commit 84a06f6
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ sbin_PROGRAMS = iprange | |
dist_noinst_DATA = iprange.spec | ||
|
||
iprange_SOURCES = iprange.c | ||
|
||
EXTRA_DIST = README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |