]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
Keep cscope around after make clean
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 14 Mar 2012 17:22:25 +0000 (10:22 -0700)
committerStephen Hemminger <shemminger@vyatta.com>
Wed, 14 Mar 2012 17:22:25 +0000 (10:22 -0700)
Follow convention of kernel and keep cscope file around
after make clean.

Makefile

index c6e4943fe001f6fae668c47d905eb51467491939..a2810e59ccd76728a7a05824882034eff157b9bf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -75,14 +75,13 @@ snapshot:
                > include/SNAPSHOT.h
 
 clean:
-       rm -f cscope.*
        @for i in $(SUBDIRS) doc; \
        do $(MAKE) $(MFLAGS) -C $$i clean; done
 
 clobber:
        touch Config
        $(MAKE) $(MFLAGS) clean
-       rm -f Config
+       rm -f Config cscope.*
 
 distclean: clobber