qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH] build-sys: add make 'help' target


From: Marc-André Lureau
Subject: Re: [Qemu-devel] [RFC PATCH] build-sys: add make 'help' target
Date: Thu, 21 Jul 2016 19:58:39 +0400

ping

On Mon, Jun 20, 2016 at 7:19 PM,  <address@hidden> wrote:
> From: Marc-André Lureau <address@hidden>
>
> Add a make 'help', to print a summary of the main Makefile targets.
> The format is loosely inspired by Linux make 'help' output.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
>  Makefile | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 53e4119..c6bf3d6 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -666,3 +666,36 @@ endif
>  -include $(wildcard *.d tests/*.d)
>
>  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 
> containers'
> +       @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'
> +       @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'
> +endif
> +endif
> +       @echo  ''
> +       @echo  '  make V=0|1 [targets] 0 => quiet build (default), 1 => 
> verbose build'
> --
> 2.7.4
>
>



-- 
Marc-André Lureau



reply via email to

[Prev in Thread] Current Thread [Next in Thread]