[exim-cvs] Add cscope.files build target

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Exim Git Commits Mailing List
日付:  
To: exim-cvs
題目: [exim-cvs] Add cscope.files build target
Gitweb: http://git.exim.org/exim.git/commitdiff/1e2a8d33061196fe6e750a59554c5fec49227f4c
Commit:     1e2a8d33061196fe6e750a59554c5fec49227f4c
Parent:     b301a50b64f9ee8b32c53f06f5305211f5991b39
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Sep 28 13:46:04 2013 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Sep 28 13:46:04 2013 +0100


    Add cscope.files build target
---
 src/Makefile |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)


diff --git a/src/Makefile b/src/Makefile
index ec573b5..b4f04b2 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -85,6 +85,15 @@ clean_exim:; cd build-$(buildname); \
      $(RM_COMMAND) -f *.o lookups/*.o lookups/*.a auths/*.o auths/*.a \
     routers/*.o routers/*.a transports/*.o transports/*.a lookups/*.so


-distclean:; $(RM_COMMAND) -rf build-*
+distclean:; $(RM_COMMAND) -rf build-* cscope*
+
+cscope.files: FRC
+    echo "-q" > $@
+    echo "-p3" >> $@
+    find src Local -name "*.[cshyl]" -print \
+            -o -name "*akefile*" -print \
+            -o -name EDITME -print >> $@
+
+FRC:


# End of top-level makefile