Message ID | 20201216215804.585750593@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 69176de2396170dc97f23beba0fd216c0b53c9bf |
Headers | show |
Series | libtracefs: Remove gui references and do not fail make clean | expand |
diff --git a/Makefile b/Makefile index daaf347966b9..e32bcaee3cba 100644 --- a/Makefile +++ b/Makefile @@ -65,8 +65,10 @@ pkgconfig_dir ?= $(word 1,$(shell $(PKG_CONFIG) \ LIBTRACEEVENT_INCLUDES = $(shell $(PKG_CONFIG) --cflags libtraceevent) LIBTRACEEVENT_LIBS = $(shell $(PKG_CONFIG) --libs libtraceevent) -ifeq ("$(LIBTRACEEVENT_INCLUDES)","") -$(error libtraceevent.so not installed) +ifneq ($(MAKECMDGOALS),clean) + ifeq ("$(LIBTRACEEVENT_INCLUDES)","") + $(error libtraceevent.so not installed) + endif endif etcdir ?= /etc