From: Breno Leitao Date: Mon, 6 Feb 2017 13:10:57 +0000 (-0500) Subject: Remove pyc files generated by 'make test' X-Git-Tag: v1.2~27^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f4ac349e183da40cd9feb11e010dcd1a2e5ee8d6;p=users%2Fsagi%2Fnvme-cli.git Remove pyc files generated by 'make test' When target 'test' is called, it generate some pyc files, that is not removed by the target 'clean'. This cause problem with the deb package, since the 'clean' target make the source files equal to the original one. Signed-off-by: Breno Leitao --- diff --git a/Makefile b/Makefile index cb83001a..1ada6f5a 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,7 @@ all: doc clean: $(RM) $(NVME) *.o *~ a.out NVME-VERSION-FILE *.tar* nvme.spec version control nvme-*.deb $(MAKE) -C Documentation clean + $(RM) tests/*.pyc clobber: clean $(MAKE) -C Documentation clobber