Permalink
Please
sign in to comment.
Browse files
Cleaned up build autotools and docs.
- not tracking autotools-generated files; people building from source should have autotools installed already - added autogen.sh - updated build notes
- Loading branch information...
Showing
with
57 additions
and 9,162 deletions.
- +8 −10 .gitignore
- +30 −7 INSTALL
- +0 −681 Makefile.in
- +1 −20 README.md
- +0 −951 aclocal.m4
- +18 −0 autogen.sh
- +0 −277 config.h.in
- +0 −5,958 configure
- +0 −400 man/Makefile.in
- +0 −381 scripts/Makefile.in
- +0 −477 src/Makefile.in
| @@ -1,11 +1,9 @@ | |||
| # Ignore artifacts generated during configure. | |||
| # Ignore autogen.sh generated artifacts | |||
| Makefile.in | |||
| aclocal.m4 | |||
| configure | |||
| config.h.in | |||
| autom4te.cache | |||
|
|
|||
| src/.deps/ | |||
| src/Makefile | |||
| src/config.h | |||
| src/config.status | |||
| src/man/Makefile | |||
| src/scripts/Makefile | |||
| src/src/Makefile | |||
| src/src/.deps | |||
| src/stamp-h1 | |||
| # Devs should be configuring and building in the ./build directory | |||
| build/ | |||
| @@ -1,22 +1,45 @@ | |||
| =============================================================================== | |||
| logkeys keylogger - instalation instructions | |||
| =============================================================================== | |||
| logkeys keylogger - installation instructions | |||
| ============================================= | |||
|
|
|||
| Provided your GNU/Linux distribution doesn't include logkeys package | |||
| in its repositories, manual installation of logkeys from source is as | |||
| easy as cloning this repo or [downloading a zip of the | |||
| source](https://github.com/kernc/logkeys/archive/master.zip), | |||
| unzipping, and building: | |||
| unzipping, configuring, and building. | |||
|
|
|||
| $ unzip logkeys-master.zip | |||
| $ cd logkeys-master/build | |||
| Prerequisites | |||
| ------------- | |||
|
|
|||
| You need autotools to build the code from source: | |||
|
|
|||
| apt-get update | |||
| apt-get install -y autotools | |||
|
|
|||
| Build and Install | |||
| ----------------- | |||
|
|
|||
| $ unzip logkeys-master.zip # or use git clone | |||
| $ cd logkeys-master | |||
|
|
|||
| $ ./autogen.sh # generate files for build | |||
| $ cd build # keeps the root and src dirs clean | |||
| $ ../configure | |||
|
|
|||
| $ make | |||
| $ su # get root to install in system | |||
| $ make install # installs binaries, manuals and scripts | |||
|
|
|||
| To uninstall logkeys, remove accompanying scripts and manuals: | |||
|
|
|||
| # make uninstall # in the same src dir | |||
| $ make uninstall # in the same build dir | |||
|
|
|||
| See README file for usage instructions, troubleshooting and other notes. | |||
|
|
|||
| Cleaning after a build | |||
| ---------------------- | |||
|
|
|||
| `autogen.sh` and `configure` generate many files which are ignored by | |||
| git. All of these files can be removed from the project, e.g. to | |||
| force a clean build, with the following: | |||
|
|
|||
| git clean -xdf | |||
Oops, something went wrong.
0 comments on commit
e95dace