]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Remove pyc files generated by 'make test'
authorBreno Leitao <breno.leitao@gmail.com>
Mon, 6 Feb 2017 13:10:57 +0000 (08:10 -0500)
committerBreno Leitao <breno.leitao@gmail.com>
Mon, 6 Feb 2017 13:10:57 +0000 (08:10 -0500)
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 <breno.leitao@gmail.com>
Makefile

index cb83001a70061d53a8d5008c0245869cdf69093f..1ada6f5a6506b35a343b126b75a5365f0891900e 100644 (file)
--- 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