From 67f2a422db09727cffaeb6924313f2d493488f99 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sun, 7 Nov 2010 09:54:51 +0000 Subject: [PATCH] Add missing generated files to the tarball (thanks maksbotan). C# bindings were omitted entirely. Add a Makefile.am for this directory even though we don't build these. Because of a missing backslash, some POD files were not being included. Cherry picked from commit 26118d498eefe10c8fa604f949680d2417c8b25c. --- .gitignore | 2 +- Makefile.am | 3 +++ configure.ac | 1 + csharp/Makefile.am | 24 ++++++++++++++++++++++++ 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 csharp/Makefile.am diff --git a/.gitignore b/.gitignore index 0cd08f9..659e70b 100644 --- a/.gitignore +++ b/.gitignore @@ -44,7 +44,7 @@ config.status config.sub configure cscope.out -csharp/ +csharp/Libguestfs.cs daemon/actions.h daemon/guestfsd daemon/guestfsd.exe diff --git a/Makefile.am b/Makefile.am index 3b80f06..adc81a3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,6 +58,9 @@ if HAVE_PHP SUBDIRS += php endif +# Unconditional because nothing is built yet. +SUBDIRS += csharp + # Virt-inspector, tools and guestmount. if HAVE_INSPECTOR SUBDIRS += inspector diff --git a/configure.ac b/configure.ac index 9d8ae4a..d9be081 100644 --- a/configure.ac +++ b/configure.ac @@ -803,6 +803,7 @@ AC_CONFIG_FILES([Makefile po-docs/Makefile po-docs/ja/Makefile php/Makefile + csharp/Makefile ocaml/META perl/Makefile.PL]) AC_OUTPUT diff --git a/csharp/Makefile.am b/csharp/Makefile.am new file mode 100644 index 0000000..5846435 --- /dev/null +++ b/csharp/Makefile.am @@ -0,0 +1,24 @@ +# libguestfs C# bindings +# Copyright (C) 2010 Red Hat Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +include $(top_srcdir)/subdir-rules.mk + +generator_built = \ + Libguestfs.cs + +EXTRA_DIST = \ + $(generator_built) -- 1.8.3.1