diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2017-02-28 12:29:01 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-03-16 11:51:15 +0800 |
commit | 4175304e591ba3e09861906a8651f243564c0530 (patch) | |
tree | c8f0cb81fa9a2b9b1b14b8af47b4380c3032bcb1 /Makefile | |
parent | 4f04f13c2a9aba874797d89a5e37b1f6b5993835 (diff) | |
download | qemu-4175304e591ba3e09861906a8651f243564c0530.zip qemu-4175304e591ba3e09861906a8651f243564c0530.tar.gz qemu-4175304e591ba3e09861906a8651f243564c0530.tar.bz2 |
makefile: generate trace-events-all upfront
Files should not be created in the build dir during the
'make install' phase. List 'trace-events-all' as a
generated file so that it gets created upfront during
build.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20170228122901.24520-3-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,6 +82,7 @@ endif GENERATED_FILES += $(TRACE_HEADERS) GENERATED_FILES += $(TRACE_SOURCES) +GENERATED_FILES += $(BUILD_DIR)/trace-events-all trace-group-name = $(shell dirname $1 | sed -e 's/[^a-zA-Z0-9]/_/g') @@ -592,8 +593,7 @@ endif endif -install: all $(if $(BUILD_DOCS),install-doc) $(BUILD_DIR)/trace-events-all \ -install-datadir install-localstatedir +install: all $(if $(BUILD_DOCS),install-doc) install-datadir install-localstatedir ifneq ($(TOOLS),) $(call install-prog,$(subst qemu-ga,qemu-ga$(EXESUF),$(TOOLS)),$(DESTDIR)$(bindir)) endif |