[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] tools/python: Improve .gitgnore and clean Makefile rule
On Mon, 2014-07-07 at 11:26 +0100, Andrew Cooper wrote: > 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@xxxxxxxxxx> > CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx> > CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> > diff --git a/.gitignore b/.gitignore > index 562c262..cf9264f 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -16,6 +16,7 @@ > *.spit > *.gcno > *.gcda > +*.py[ocd] FWIW there are a bunch of explicit foo.pyc listed which could now be removed I guess. > - 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 I've assumed the lack of *.a in here is deliberate but *.o? Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |