[virt-tools-list] [PATCH virt-viewer v2] Update for README.md
Pavel Grunt
pgrunt at redhat.com
Tue Feb 7 15:31:42 UTC 2017
It is needed to use the 'foreign' init option otherwise autotools
requires README
---
v2: add README.md to EXTRA_DIST
with this I was able to build the rpm
---
Makefile.am | 1 +
configure.ac | 2 +-
virt-viewer.spec.in | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 6c7a3f9..d33367a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,7 @@ EXTRA_DIST = \
build-aux/useless-if-before-free \
build-aux/vc-list-files \
AUTHORS.in \
+ README.md \
$(NULL)
DISTCLEAN_FILES = \
diff --git a/configure.ac b/configure.ac
index c611d70..69e3708 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
dnl Make automake keep quiet about wildcards & other GNUmake-isms
-AM_INIT_AUTOMAKE([subdir-objects -Wno-portability])
+AM_INIT_AUTOMAKE([subdir-objects -Wno-portability foreign])
AC_CANONICAL_HOST
# Use the silent-rules feature when possible.
diff --git a/virt-viewer.spec.in b/virt-viewer.spec.in
index 7e972c4..44ef92e 100644
--- a/virt-viewer.spec.in
+++ b/virt-viewer.spec.in
@@ -119,7 +119,7 @@ fi
%files -f %{name}.lang
%defattr(-,root,root,-)
-%doc README COPYING AUTHORS ChangeLog NEWS
+%doc README.md COPYING AUTHORS ChangeLog NEWS
%{_bindir}/%{name}
%{_bindir}/remote-viewer
%{_datadir}/icons/hicolor/*/apps/*
--
2.11.1
More information about the virt-tools-list
mailing list