This ensures the gui source will be included in the tarball with make dist,
and will be installed with make install.
AUTOMAKE_OPTIONS = gnu
-SUBDIRS = m4 src doc
+SUBDIRS = m4 src doc gui
ACLOCAL_AMFLAGS = -I m4
-EXTRA_DIST = have.h system.h COPYING.README gui
+EXTRA_DIST = have.h system.h COPYING.README
ChangeLog:
git log > ChangeLog
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_RANLIB
+AM_PATH_PYTHON
dnl Check and set OS
AC_SUBST(INCLUDES)
-AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile m4/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile m4/Makefile gui/Makefile])
AC_OUTPUT
--- /dev/null
+dist_bin_SCRIPTS = tinc-gui
+
+tinc_gui_PYTHON = Tinc.py
+
+tinc_guidir = $(prefix)/bin
+
+extra_DIST = README.gui