[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 11/17] build-sys: add make 'help' target
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 11/17] build-sys: add make 'help' target |
Date: |
Thu, 15 Sep 2016 16:21:50 +0200 |
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>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
Makefile | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/Makefile b/Makefile
index 50b4b3a..1fad5b7 100644
--- a/Makefile
+++ b/Makefile
@@ -669,3 +669,40 @@ endif
-include $(wildcard *.d tests/*.d)
include $(SRC_PATH)/tests/docker/Makefile.include
+
+.PHONY: help
+help:
+ @echo 'Generic targets:'
+ @echo ' all - Build all'
+ @echo ' dir/file.o - Build specified target only'
+ @echo ' install - Install QEMU, documentation and tools'
+ @echo ' ctags/TAGS - Generate tags file for editors'
+ @echo ' cscope - Generate cscope index'
+ @echo ''
+ @$(if $(TARGET_DIRS), \
+ echo 'Architecture specific targets:'; \
+ $(foreach t, $(TARGET_DIRS), \
+ printf " %-30s - Build for %s\\n" $(patsubst %,subdir-%,$(t))
$(t);) \
+ echo '')
+ @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 - Help about targets running tests inside
Docker containers'
+ @echo ''
+ @echo 'Documentation targets:'
+ @echo ' dvi html info pdf'
+ @echo ' - Build documentation in specified format'
+ @echo ''
+ifdef CONFIG_WIN32
+ @echo 'Windows targets:'
+ @echo ' installer - Build NSIS-based installer for qemu-ga'
+ifdef QEMU_GA_MSI_ENABLED
+ @echo ' msi - Build MSI-based installer for qemu-ga'
+endif
+ @echo ''
+endif
+ @echo ' make V=0|1 [targets] 0 => quiet build (default), 1 => verbose
build'
--
1.8.3.1
- [Qemu-devel] [PULL 01/17] scsi-disk: Cleaning up around tray open state, (continued)
- [Qemu-devel] [PULL 01/17] scsi-disk: Cleaning up around tray open state, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 03/17] scsi: mptsas: use g_new0 to allocate MPTSASRequest object, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 02/17] virtio-scsi: Don't abort when media is ejected, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 04/17] cutils: Rewrite x86 buffer zero checking, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 05/17] Change net/socket.c to use socket_*() functions, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 06/17] memory: remove memory_region_destructor_rom_device, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 07/17] scsi: pvscsi: limit process IO loop to ring size, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 08/17] pc: apic: fix touch LAPIC when irqchip is split, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 09/17] target-i386: fix ordering of fields in CPUX86State, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 10/17] linux-user: complete omission of removing uses of strdup, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 11/17] build-sys: add make 'help' target,
Paolo Bonzini <=
- [Qemu-devel] [PULL 12/17] qemu-char: avoid segfault if user lacks of permisson of a given logfile, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 13/17] log: fix parsing of multiple trace:PATTERN log args, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 14/17] target-i386: Fixed syscall posssible segfault, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 15/17] pc: apic: introduce APIC macro, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 16/17] kvmvapic: fix state change handler, Paolo Bonzini, 2016/09/15
- [Qemu-devel] [PULL 17/17] pcspk: adding vmstate for save/restore, Paolo Bonzini, 2016/09/15
- Re: [Qemu-devel] [PULL 00/17] Second batch of misc patches for QEMU 2.8, no-reply, 2016/09/15
- Re: [Qemu-devel] [PULL 00/17] Second batch of misc patches for QEMU 2.8, Peter Maydell, 2016/09/15