summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-08-02 01:49:03 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-02 01:49:03 +0200
commitcaa4aaafe48fce11f6826ba2d0b8f1ff4f8e49cf (patch)
tree335f0003ca34972a732799ac58ff916ae7c49100
parentabfa51e422384d23ea0a253e5937063131fd4279 (diff)
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--.gitignore1
-rw-r--r--INSTALL25
-rw-r--r--Makefile.am2
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.ac7
5 files changed, 27 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 1961de8..132e096 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,7 +22,6 @@ configure
22configure.scan 22configure.scan
23depcomp 23depcomp
24.deps/ 24.deps/
25INSTALL
26install-sh 25install-sh
27.libs/ 26.libs/
28libtool 27libtool
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..56bcf90
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,25 @@
1mtdev - Multitouch Protocol Translation Library (MIT license)
2
3To build, you need to have the autoconf and libtool packages
4installed. Then, do
5
6 ./autogen.sh
7 ./configure
8 make
9
10To test an MT device at /dev/input/eventX, do
11
12 sudo ./test/mtdev-test /dev/input/eventX
13
14You should be able to see MT events in the terminal. After five
15seconds of inactivity, the program exits.
16
17To install mtdev, do
18
19 sudo make install
20
21By default, mtdev installs to /usr/local. To change, use the --prefix
22configure option.
23
24Enjoy,
25Henrik
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/
9INSTALL: 9INSTALL:
10 $(INSTALL_CMD) 10 $(INSTALL_CMD)
11ChangeLog: 11ChangeLog:
12 $(CHANGELOG_CMD) 12 git log > ChangeLog
13 13
14dist-hook: ChangeLog INSTALL 14dist-hook: ChangeLog INSTALL
diff --git a/autogen.sh b/autogen.sh
index 904cd67..a4fa9a2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,5 +8,3 @@ cd $srcdir
8 8
9autoreconf -v --install || exit 1 9autoreconf -v --install || exit 1
10cd $ORIGDIR || exit $? 10cd $ORIGDIR || exit $?
11
12$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],
6 [mtdev]) 6 [mtdev])
7AC_CONFIG_SRCDIR([Makefile.am]) 7AC_CONFIG_SRCDIR([Makefile.am])
8AC_CONFIG_HEADERS([config.h]) 8AC_CONFIG_HEADERS([config.h])
9AC_CONFIG_AUX_DIR([config-aux])
9 10
10# Initialize Automake 11# Initialize Automake
11AM_INIT_AUTOMAKE([foreign dist-bzip2]) 12AM_INIT_AUTOMAKE([foreign dist-bzip2])
@@ -21,12 +22,6 @@ AC_PROG_LIBTOOL
21AC_PROG_CC 22AC_PROG_CC
22AC_PROG_INSTALL 23AC_PROG_INSTALL
23 24
24# Initialize X.Org macros
25m4_ifndef([XORG_MACROS_VERSION],
26 [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])])
27XORG_MACROS_VERSION(1.5)
28XORG_DEFAULT_OPTIONS
29
30AC_CONFIG_FILES([Makefile 25AC_CONFIG_FILES([Makefile
31 src/Makefile 26 src/Makefile
32 test/Makefile 27 test/Makefile