Skip to contentSkip to conversation

tools: add distclean target to libs/toollog Makefile

PATCH In review Juergen Gross 2 participants 3 messages Jan 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: add distclean target to libs/toollog Makefile

The new logging library Makefile doesn't support the distclean target. Add it.

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

---
 tools/libs/toollog/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
tools/libs/toollog/Makefile +4 -0
index bd12403..9bfd179 100644
@@ -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
Signature · 1 line
2.6.2
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Juergen Gross

The new logging library Makefile doesn't support the distclean target. Add it.

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

(I've also made a note to check this in the other patches adding more libraries which haven't landed yet)

Quoted 14 lines

---
 tools/libs/toollog/Makefile | 4 ++++

 1 file changed, 4 insertions(+)
tools/libs/toollog/Makefile +0 -0
index bd12403..9bfd179 100644
@@ -57,3 +57,7 @@ TAGS:

 .PHONY: clean
 clean:
  rm -rf *.rpm $(LIB) *~ $(DEPS) $(LIB_OBJS) $(PIC_OBJS)

tools/libs/toollog/Makefile +1 -0
+	rm -f libxentoollog.so.$(MAJOR).$(MINOR)

libxentoollog.so.$(MAJOR)

tools/libs/toollog/Makefile TAGS: · line 63

Quoted 3 lines
tools/libs/toollog/Makefile +3 -0
+
+.PHONY: distclean
+distclean: clean

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel