mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
tools/python: Improve .gitignore and clean Makefile rule
Ignore all intermediate python files, and use find in the clean rule as there are no Makefiles in subdirectories to participate in a recursive clean. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> CC: Ian Campbell <Ian.Campbell@citrix.com> CC: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
f224b60791
commit
86229197cf
2 files changed
+4
-5
No files matched your search
@@ -29,10 +29,8 @@ test:
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f $(XENPATH)
|
||||
rm -rf build/ *.pyc *.pyo *.o *.a *~ xen/util/auxbin.pyc
|
||||
rm -f xen/lowlevel/xl/_pyxl_types.h
|
||||
rm -f xen/lowlevel/xl/_pyxl_types.c
|
||||
rm -f $(DEPS)
|
||||
find . \( -name "*.py[ocd]" -o -name "*~" -o -name "_*.[hc]" \) -delete
|
||||
rm -rf build/
|
||||
rm -f $(XENPATH) $(DEPS)
|
||||
|
||||
-include $(DEPS)
|
||||