From: Liu Yuan <[email protected]>

It is nice to get cscope.out by single line 'make cscope'

Signed-off-by: Liu Yuan <[email protected]>
---
 Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index cdc7165..62f3a71 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,6 +30,10 @@ dist-clean-local:
 
 clean-generic:
        rm -rf $(SPEC) $(TARFILE)
+cscope:
+       @echo create cscope.out
+       @find -name '*.[ch]' > cscope.files
+       @cscope -bq
 
 $(SPEC): $(SPEC).in
        rm -f $@-t $@
-- 
1.7.8.rc3

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to