Skip to content
Permalink
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...
jzohrab committed Feb 10, 2016
1 parent 776dbad commit e95dace32922643f0877fdaf31fb82a65567292d
Showing with 57 additions and 9,162 deletions.
  1. +8 −10 .gitignore
  2. +30 −7 INSTALL
  3. +0 −681 Makefile.in
  4. +1 −20 README.md
  5. +0 −951 aclocal.m4
  6. +18 −0 autogen.sh
  7. +0 −277 config.h.in
  8. +0 −5,958 configure
  9. +0 −400 man/Makefile.in
  10. +0 −381 scripts/Makefile.in
  11. +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/
37 INSTALL
@@ -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

Please sign in to comment.
You can’t perform that action at this time.