Fix make cscope and clean
authorSimo Sorce <simo@redhat.com>
Mon, 6 Oct 2014 19:58:10 +0000 (15:58 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Tue, 7 Oct 2014 14:48:01 +0000 (16:48 +0200)
clean should clean more and cscope should not try to read an unexisting file.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Makefile

index 8f904fa..d4d570d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,9 +31,10 @@ ui-node: less/ipsilon.less less/admin.less
 
 clean:
        rm -fr testdir cscope.out
+       find ./ -name '*.pyc' -exec rm -f {} \;
 
 cscope:
-       git ls-files | xargs pycscope -i .filelist
+       git ls-files | xargs pycscope
 
 lp-test:
        pylint -d c,r,i,W0613 -r n -f colorized \