From fea346f569d4132296f7c26367374fcace80e096 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 17 Feb 2017 18:59:28 +0000 Subject: Makefile: Put VERSION info into version.texi rather than using -D MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unfortunately some older versions of makeinfo don't correctly handle the -D command line option and fail to set the variable. This then causes them to complain docs/qemu-ga-ref.texi:41: warning: undefined flag: VERSION Work around this by doing as the autotools do, and writing the information into a version.texi file which we then include from the .texi files that need it. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake Message-Id: <1487357968-31000-1-git-send-email-peter.maydell@linaro.org> Reviewed-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qemu-ga-ref.texi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/qemu-ga-ref.texi') diff --git a/docs/qemu-ga-ref.texi b/docs/qemu-ga-ref.texi index 87cc8d01a5..ddb76ce1c2 100644 --- a/docs/qemu-ga-ref.texi +++ b/docs/qemu-ga-ref.texi @@ -1,6 +1,8 @@ \input texinfo @setfilename qemu-ga-ref.info +@include version.texi + @exampleindent 0 @paragraphindent 0 -- cgit v1.2.3