Fix cscope filelist by removing leading ./
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 1 Oct 2008 21:46:58 +0000 (21:46 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 1 Oct 2008 21:46:58 +0000 (21:46 +0000)
(Ryan Harper, Laurent Desnogues)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5389 c046a42c-6fe2-441c-8c8c-71466251a162

Makefile

index d57f791..35061a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -261,7 +261,7 @@ TAGS:
 
 cscope:
        rm -f ./cscope.*
-       find . -name "*.[ch]" -print > ./cscope.files
+       find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files
        cscope -b
 
 # documentation