summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2013-09-28 13:46:04 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2013-09-28 13:46:04 +0100
commit1e2a8d33061196fe6e750a59554c5fec49227f4c (patch)
treeacf499db765a2e3a9a607e354e281a3eafc80fd0 /src
parentb301a50b64f9ee8b32c53f06f5305211f5991b39 (diff)
Add cscope.files build target
Diffstat (limited to 'src')
-rw-r--r--src/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index ec573b5d6..b4f04b2e4 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