lxr 소스 추가하려면 설정을 어떻게 해야 하나요?
lxr 을 설치해서 사용하고 있습니다.
여러개의 소스를 올려서 사용하고 싶은데, 설정을 어떻게 해줘야 하는지 잘 모르겠습니다.
sourceroot를 아래와 같이 설정하니 마지막 설정만 먹히네요.
-----------------------------------------------------------------------------------------------------------
=lxr.conf=
# Configuration file.
# Define typed variable "v", read valueset from file.
variable: v, Version, [/home/httpd/html/lxr/source/versions], [/home/httpd/html/lxr/source/defversion]
# Define typed variable "a". First value is default.
variable: a, Architecture, (i386, alpha, m68k, mips, ppc, sparc, sparc64)
# Define the base url for the LXR files.
baseurl: http://10.7.53.80/
# These are the templates for the HTML heading, directory listing and
# footer, respectively.
htmlhead: /home/httpd/html/lxr/http/template-head
htmltail: /home/httpd/html/lxr/http/template-tail
htmldir: /home/httpd/html/lxr/http/template-dir
# The source is here.
sourceroot: /home/httpd/html/lxr/source/$v/linux/
sourceroot: /home/httpd/html/lxr/source/$v/jm95/
#srcrootname: Linux
# "#include " is mapped to this directory (in the LXR source
# tree)
incprefix: /include
# The database files go here.
dbdir: /home/httpd/html/lxr/source/$v/
# Glimpse can be found here.
glimpsebin: /usr/local/bin/glimpse
# The power of regexps. This is pretty Linux-specific, but quite
# useful. Tinker with it and see what it does. (How's that for
# documentation?)
map: /include/asm[^\/]*/ /include/asm-$a/
map: /arch/[^\/]+/ /arch/$a/
댓글 달기