From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baKIl-0005Zf-Rq for qemu-devel@nongnu.org; Thu, 18 Aug 2016 06:11:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baKIi-00037U-Db for qemu-devel@nongnu.org; Thu, 18 Aug 2016 06:11:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baKIi-00037B-8j for qemu-devel@nongnu.org; Thu, 18 Aug 2016 06:11:52 -0400 References: <1466435940-14648-1-git-send-email-marcandre.lureau@redhat.com> From: Paolo Bonzini Message-ID: <18125464-d955-380c-dea7-8adc979c2191@redhat.com> Date: Thu, 18 Aug 2016 12:11:48 +0200 MIME-Version: 1.0 In-Reply-To: <1466435940-14648-1-git-send-email-marcandre.lureau@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH] build-sys: add make 'help' target List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: marcandre.lureau@redhat.com, qemu-devel@nongnu.org Cc: mdroth@linux.vnet.ibm.com, berrange@redhat.com On 20/06/2016 17:19, marcandre.lureau@redhat.com wrote: > From: Marc-Andr=C3=A9 Lureau >=20 > Add a make 'help', to print a summary of the main Makefile targets. > The format is loosely inspired by Linux make 'help' output. >=20 > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > Makefile | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) >=20 > diff --git a/Makefile b/Makefile > index 53e4119..c6bf3d6 100644 > --- a/Makefile > +++ b/Makefile > @@ -666,3 +666,36 @@ endif > -include $(wildcard *.d tests/*.d) > =20 > include $(SRC_PATH)/tests/docker/Makefile.include > + > +.PHONY: help > +help: > + > + @echo 'Cleaning targets:' > + @echo ' clean - Remove most generated files but keep the = config' > + @echo ' distclean - Remove all generated files' > + @echo ' dist - Build a distributable tarball' > + @echo '' > + @echo 'Test targets:' > + @echo ' check - Run all tests (check-help for details)' > + @echo ' docker - Build QEMU and run tests inside Docker co= ntainers' "docker" is a help target. > + @echo ' test/speed - Run TCG tests' > + @echo '' > + @echo 'Documentation targets:' > + @echo ' dvi/html/' > + @echo ' info/pdf - Build documentation in specified format' > + @echo '' > + @echo 'Other generic targets:' > + @echo ' all - Build all' Shouldn't "all" come first? > + @echo ' install - Install QEMU, documentation and tools' > + @echo ' ctags/TAGS - Generate tags file for editors' > + @echo ' cscope - Generate cscope index' > +ifdef CONFIG_WIN32 > + @echo '' > + @echo 'Windows targets:' > + @echo ' installer - Build NSIS-based installer' > +ifdef QEMU_GA_MSI_ENABLED > + @echo ' msi - Build MSI-based installer' Build MSI-based installer for qemu-ga. Paolo > +endif > +endif > + @echo '' > + @echo ' make V=3D0|1 [targets] 0 =3D> quiet build (default), 1 =3D>= verbose build' >=20