diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2010-08-02 01:49:03 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-02 01:49:03 +0200 |
commit | caa4aaafe48fce11f6826ba2d0b8f1ff4f8e49cf (patch) | |
tree | 335f0003ca34972a732799ac58ff916ae7c49100 | |
parent | abfa51e422384d23ea0a253e5937063131fd4279 (diff) | |
download | mtdev-git-caa4aaafe48fce11f6826ba2d0b8f1ff4f8e49cf.tar.gz |
Remove erroneous dependency on xorg macros
This package has no external dependencies and should not depend
on the xorg macros. This patch removes the dependency, adds a tailored
INSTALL file, and uses git to generate the ChangeLog.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | INSTALL | 25 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rwxr-xr-x | autogen.sh | 2 | ||||
-rw-r--r-- | configure.ac | 7 |
5 files changed, 27 insertions, 10 deletions
@@ -22,7 +22,6 @@ configure configure.scan depcomp .deps/ -INSTALL install-sh .libs/ libtool @@ -0,0 +1,25 @@ +mtdev - Multitouch Protocol Translation Library (MIT license) + +To build, you need to have the autoconf and libtool packages +installed. Then, do + + ./autogen.sh + ./configure + make + +To test an MT device at /dev/input/eventX, do + + sudo ./test/mtdev-test /dev/input/eventX + +You should be able to see MT events in the terminal. After five +seconds of inactivity, the program exits. + +To install mtdev, do + + sudo make install + +By default, mtdev installs to /usr/local. To change, use the --prefix +configure option. + +Enjoy, +Henrik diff --git a/Makefile.am b/Makefile.am index 5fb2b00..c175641 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,6 +9,6 @@ INCLUDES = $(top_srcdir)/include/ INSTALL: $(INSTALL_CMD) ChangeLog: - $(CHANGELOG_CMD) + git log > ChangeLog dist-hook: ChangeLog INSTALL @@ -8,5 +8,3 @@ cd $srcdir autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? - -$srcdir/configure --enable-maintainer-mode "$@" diff --git a/configure.ac b/configure.ac index e5bdb71..56a4794 100644 --- a/configure.ac +++ b/configure.ac @@ -6,6 +6,7 @@ AC_INIT([Multitouch Protocol Translation Library], [mtdev]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_AUX_DIR([config-aux]) # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) @@ -21,12 +22,6 @@ AC_PROG_LIBTOOL AC_PROG_CC AC_PROG_INSTALL -# Initialize X.Org macros -m4_ifndef([XORG_MACROS_VERSION], - [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.5) -XORG_DEFAULT_OPTIONS - AC_CONFIG_FILES([Makefile src/Makefile test/Makefile |