48c875
From 506484d71bb8d8b8d68b6895364cb183fe2b24ee Mon Sep 17 00:00:00 2001
48c875
From: Pavel Grunt <pgrunt@redhat.com>
48c875
Date: Tue, 7 Feb 2017 16:31:42 +0100
48c875
Subject: [PATCH 13/26] Update for README.md
48c875
48c875
It is needed to use the 'foreign' init option otherwise autotools
48c875
requires README
48c875
48c875
Fix make distcheck and spec file generation
48c875
48c875
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
48c875
---
48c875
 Makefile.am         | 1 +
48c875
 configure.ac        | 2 +-
48c875
 virt-viewer.spec.in | 2 +-
48c875
 3 files changed, 3 insertions(+), 2 deletions(-)
48c875
48c875
diff --git a/Makefile.am b/Makefile.am
48c875
index 6c7a3f9..d33367a 100644
48c875
--- a/Makefile.am
48c875
+++ b/Makefile.am
48c875
@@ -18,6 +18,7 @@ EXTRA_DIST =					\
48c875
 	build-aux/useless-if-before-free	\
48c875
 	build-aux/vc-list-files			\
48c875
 	AUTHORS.in				\
48c875
+	README.md				\
48c875
 	$(NULL)
48c875
 
48c875
 DISTCLEAN_FILES =				\
48c875
diff --git a/configure.ac b/configure.ac
48c875
index 81cb576..3d03687 100644
48c875
--- a/configure.ac
48c875
+++ b/configure.ac
48c875
@@ -5,7 +5,7 @@ AC_CONFIG_MACRO_DIR([m4])
48c875
 AC_CONFIG_AUX_DIR([build-aux])
48c875
 AC_CONFIG_HEADERS([config.h])
48c875
 dnl Make automake keep quiet about wildcards & other GNUmake-isms
48c875
-AM_INIT_AUTOMAKE([subdir-objects -Wno-portability])
48c875
+AM_INIT_AUTOMAKE([subdir-objects -Wno-portability foreign])
48c875
 AC_CANONICAL_HOST
48c875
 
48c875
 # Use the silent-rules feature when possible.
48c875
diff --git a/virt-viewer.spec.in b/virt-viewer.spec.in
48c875
index 7e972c4..44ef92e 100644
48c875
--- a/virt-viewer.spec.in
48c875
+++ b/virt-viewer.spec.in
48c875
@@ -119,7 +119,7 @@ fi
48c875
 
48c875
 %files -f %{name}.lang
48c875
 %defattr(-,root,root,-)
48c875
-%doc README COPYING AUTHORS ChangeLog NEWS
48c875
+%doc README.md COPYING AUTHORS ChangeLog NEWS
48c875
 %{_bindir}/%{name}
48c875
 %{_bindir}/remote-viewer
48c875
 %{_datadir}/icons/hicolor/*/apps/*
48c875
-- 
48c875
2.12.0
48c875