最終更新:2013-11-10 (日) 08:09:28 (1802d)  

LXR はてなブックマークを見る
Top / LXR

the Linux Cross Reference

http://lxr.sourceforge.net/

LXR is a general purpose source code indexer and cross-referencer that provides web-based browsing of source code with links to the definition and usage of any identifier. It supports a wide choice of languages.

LXR/バージョン

  • LXR 1.2 - 2013/04/21
  • LXR 1.1? - 2013/01/26
  • LXR 1.0? - 2012/09/30
  • LXR 0.11? - 2012/03/21
  • LXR 0.10? - 2011/12/28
  • LXR 0.9?
  • LXR 0.3?

マニュアル

LXR/インストール

LXR Tools Installation

  • File::MMagic?

LXR Core Installation

  • LXR root directory:/usr/local/share/lxr/
    [root@localhost lxr]# cd /usr/local/share/lxr/

LXR and Database Configuration

  • [root@localhost lxr]# ./scripts/configure-lxr.pl -v
    ...
    configuration saved in custom.d/lxr.conf
    DB initialisation sript is custom.d/initdb.sh
    *** Describing tree location
    How is your tree stored? [FILES/cvs/git/subversion/bitkeeper]
    *** A source directory contains one sub-directory for every version.
    --- Source directory? (e.g. /home/myself/project-tree) /home/myself/my-project
    Name to display for the path root? (e.g. Project or $v for version) [$v]
  • /home/myself/my-project/v1
  • ソースコード置き場:/var/www/lxr/source

Populate LXR Database

  • ./genxref --url=http://localhost/lxr --version={ソースコード置き場以下のディレクトリ名}
    ./genxref --url=http://localhost/lxr --allversions

Configure the Web Server

  • cp custom.d/apache-lxrserver.conf /etc/httpd/conf.d

LXRng

  • http://lxr.linux.no
  • 昔のサイトだけど今は実験的fork。Ajaxとか
  • an experimental fork from LXR to explore other technologies.

関連

参考