FAQ
In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/56e5b8a7af1e79a4b2adfcf96bf7588b3e2e2e6f?hp=34a0e301f59c0bb8059f9b6d03361149f3fb035e>

- Log -----------------------------------------------------------------
commit 56e5b8a7af1e79a4b2adfcf96bf7588b3e2e2e6f
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date: Thu Mar 10 20:07:35 2016 -0500

     gitignore for cscope index files.

M .gitignore

commit 762030fb8b456ed5b622cfc616de7de1cb061b9f
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date: Thu Mar 10 20:05:32 2016 -0500

     make target for cscope indexing.

M Makefile.SH
-----------------------------------------------------------------------

Summary of changes:
  .gitignore | 6 ++++++
  Makefile.SH | 9 +++++++++
  2 files changed, 15 insertions(+)

diff --git a/.gitignore b/.gitignore
index 6b57f5e..157390a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -179,6 +179,12 @@ MANIFEST.srt
  # dont show .gdb_history files
  .gdb_history

+# cscope -b
+cscope.out
+# cscope -q
+cscope.in.out
+cscope.po.out
+
  # generated by the top level install.html target. XXX Why does it need this?
  /vms/README_vms.pod

diff --git a/Makefile.SH b/Makefile.SH
index 43701ad..d4223d1 100755
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -1409,6 +1409,15 @@ lint: $(c)
  splint: $(c)
   splint $(splintflags) -DPERL_CORE -D_REENTRANT -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(splintfiles)

+cscopeflags = -Rb # Recursive, build-only.
+
+.PHONY: cscope
+# To query the cscope.out "cscope -dLnsymbol" where n = 0 means uses,
+# 1 = definitions, 2 = callees, 3 = callers, or run cscope interactively,
+# for example "cscope -dL1Perl_mg_set".
+cscope.out cscope: $(c) $(h)
+ cscope $(cscopeflags)
+
  # Need to unset during recursion to go out of loop.
  # The README below ensures that the dependency list is never empty and
  # that when MAKEDEPEND is empty $(FIRSTMAKEFILE) doesn't need rebuilding.

--
Perl5 Master Repository

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupperl5-changes @
categoriesperl
postedMar 11, '16 at 1:23a
activeMar 11, '16 at 1:23a
posts1
users1
websiteperl.org

1 user in discussion

Jarkko Hietaniemi: 1 post

People

Translate

site design / logo © 2017 Grokbase