tools: add distclean target to libs/toollog Makefile
authorJuergen Gross <jgross@suse.com>
Thu, 7 Jan 2016 08:25:01 +0000 (09:25 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 7 Jan 2016 12:52:03 +0000 (12:52 +0000)
The new logging library Makefile doesn't support the distclean target.
Add it.

Also remove all created shared library versions via the clean target.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libs/toollog/Makefile

index bd12403ed7976cfdf58661de7071052456ec0b21..9bfd179ed8ddba0439ee45823c1d767e9dfdaf3e 100644 (file)
@@ -57,3 +57,7 @@ TAGS:
 .PHONY: clean
 clean:
        rm -rf *.rpm $(LIB) *~ $(DEPS) $(LIB_OBJS) $(PIC_OBJS)
+       rm -f libxentoollog.so.$(MAJOR).$(MINOR) libxentoollog.so.$(MAJOR)
+
+.PHONY: distclean
+distclean: clean