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