Create Makefile and build in debian/.
 ## Process this file with automake to get Makefile.in
 
-AUTOMAKE_OPTIONS = gnits
+AUTOMAKE_OPTIONS = gnu
 
-SUBDIRS = m4 lib cipher src doc redhat
+SUBDIRS = m4 lib cipher src doc redhat debian
 
 ACLOCAL_AMFLAGS =
 
 
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/tincd.c)
-AM_INIT_AUTOMAKE(tinc, 1.0)
+AM_INIT_AUTOMAKE(tinc, 1.0pre1)
 AM_CONFIG_HEADER(config.h)
 
 dnl Include the macros from the m4/ directory
 fi
 
 AC_OUTPUT([Makefile src/Makefile cipher/Makefile cipher/blowfish/Makefile
-doc/Makefile lib/Makefile m4/Makefile redhat/Makefile])
+doc/Makefile lib/Makefile m4/Makefile redhat/Makefile debian/Makefile])
 
--- /dev/null
+EXTRA_DIST = README.Debian changelog conffiles control copyright dirs docs files info init.d rules