Add Makefile.am in gui/.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 24 Jun 2011 22:32:45 +0000 (00:32 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 24 Jun 2011 22:35:58 +0000 (00:35 +0200)
This ensures the gui source will be included in the tarball with make dist,
and will be installed with make install.

Makefile.am
configure.in
gui/Makefile.am [new file with mode: 0644]

index d2f9c3b..e37864d 100644 (file)
@@ -2,11 +2,11 @@
 
 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
index 22e5fb1..edd3bec 100644 (file)
@@ -20,6 +20,7 @@ AC_PROG_CPP
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_RANLIB
+AM_PATH_PYTHON
 
 dnl Check and set OS
 
@@ -172,6 +173,6 @@ AC_ARG_ENABLE(jumbograms,
 
 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
diff --git a/gui/Makefile.am b/gui/Makefile.am
new file mode 100644 (file)
index 0000000..e538e8f
--- /dev/null
@@ -0,0 +1,7 @@
+dist_bin_SCRIPTS = tinc-gui
+
+tinc_gui_PYTHON = Tinc.py
+
+tinc_guidir = $(prefix)/bin
+
+extra_DIST = README.gui