diff --git a/.cvsignore b/.cvsignore
new file mode 100644
index 0000000000000000000000000000000000000000..9266f1e6f07a364e617de8fdd8080e3467e04a8a
--- /dev/null
+++ b/.cvsignore
@@ -0,0 +1,12 @@
+.deps
+Makefile
+Makefile.in
+aclocal.m4
+autom4te.cache
+config.h
+config.h.in
+config.log
+config.status
+configure
+netscape-remote
+stamp-h1
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000000000000000000000000000000000000..d69554391b1e71afb678b5c291a398b9ae276509
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,9 @@
+News in 1.2 (release date 2002-06-01)
+=====================================
+
+ * The "expected version 1.1 but found version 4.79 instead" warning is gone.
+
+ * Some very minor bugfixes.
+
+ * GNU-style makefile framework added.  (Note!  This program is *not*
+   covered by the GNU GPL!  See AUTHORS for details.)
diff --git a/README b/README
new file mode 100644
index 0000000000000000000000000000000000000000..009715172d687dd2c9fcfc19b0963e26949597cb
--- /dev/null
+++ b/README
@@ -0,0 +1,27 @@
+netscape-remote is a utility that can control a running Netscape just
+like "netscape -remote ...", but since netscape-remote is a very tiny
+application it is much faster.
+
+The source code to netscape-remote is available from Netscape.  It is
+easy to compile.  You could get it here:
+
+	http://wp.netscape.com/newsref/std/remote.c
+	http://wp.netscape.com/newsref/std/vroot.h
+
+This package of netscape-remote adds a GNU-style configure script and
+convenient makefiles.  The core program is hardly modified, but see
+NEWS for the details.
+
+I don't expect there to be a need for any future releases of
+netscape-remote, since it is a stable program.  But if you have an
+improvement to this program, please do send it to me (unified diff
+prefered).  If I like your patch, I will give you write access to the
+CVS repository I use for this program.  Use this address:
+
+	ceder+netscape@lysator.liu.se
+
+Anonymous CVS access is available.  You need to use ./bootstrap.sh if
+you fetch the code from CVS.  Here is the magic command line:
+
+    cvs -d :pserver:anonymous@cvs.lysator.liu.se:/cvsroot/netscape-remote \
+	co netscape-remote
diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100755
index 0000000000000000000000000000000000000000..c303d8b1e31a09d910b3fa6607ee96b52df24eab
--- /dev/null
+++ b/bootstrap.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+aclocal
+autoconf
+autoheader
+# We want most files that automake adds by default, but not the GNU
+# GPL license.
+automake -a
+rm COPYING
+automake --foreign
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000000000000000000000000000000000000..c7782f04860d8bf191a1bcf73122a35f6e2a227b
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,9 @@
+AC_INIT(netscape-remote, 1.2)
+AM_INIT_AUTOMAKE
+AM_CONFIG_HEADER(config.h)
+AC_PROG_CC
+AC_PATH_XTRA
+AC_CONFIG_FILES([Makefile])
+AC_DEFINE([STANDALONE], [1], 
+          [Define is netscape-remote is compiled standalone])
+AC_OUTPUT