summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-11-23 08:49:49 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-11-23 08:50:31 +1000
commit39614a8aae17223b9378359dc2697c73743d1a39 (patch)
tree238e8eecb58319798e11545e302ecf5c472b7697
parentbe6eb26c0cf01da04d7a5012ee46c6b8a36b78db (diff)
Add INSTALL and basic compilation instructions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--INSTALL15
-rw-r--r--Makefile.am2
-rw-r--r--evtest.c3
3 files changed, 19 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..67786f6
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,15 @@
+Manual compilation (if autotools are not available):
+$> gcc -o evtest evtest.c
+
+Otherwise, run the following commands.
+
+$> autoreconf -iv
+$> configure --prefix=/usr
+$> make
+$> make install
+
+Adjust the prefix as necessary, on most distributions /usr is fine.
+evtest itself has no requirements other than the C compiler, if you need
+evtest-capture, install the libxml-2.0 development files.
+
+
diff --git a/Makefile.am b/Makefile.am
index 478df10..a9557c8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,4 +10,4 @@ endif
man1_MANS = evtest.man
-EXTRA_DIST = $(man1_MANS) evtest-generate-device.xsl
+EXTRA_DIST = $(man1_MANS) evtest-generate-device.xsl INSTALL
diff --git a/evtest.c b/evtest.c
index 421c912..ac53edc 100644
--- a/evtest.c
+++ b/evtest.c
@@ -3,6 +3,9 @@
* Copyright (c) 2009 Red Hat, Inc
*
* Event device test program
+ *
+ * See INSTALL for installation details or manually compile with
+ * gcc -o evtest evtest.c
*/
/*