LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 682|回复: 0

lxr 求助

[复制链接]
发表于 2006-12-7 14:49:14 | 显示全部楼层 |阅读模式
我使用lxr 0.3现在source navigator ,identifier search freetext search 均能使用,能进到相应文件中,但file search 使用时显示出来的结果却是绝对路径,点进去以后找的是行如 Linux/var/www/localhost/htdocs/lxr/source/linux....文件.不知怎么的加了个Linux前缀,请教该如何处理,谢谢
file search input.h的显示结果:
/var/www/localhost/htdocs/lxr/source/linux/drivers/usb/input/hid-lgff.c
/var/www/localhost/htdocs/lxr/source/linux/drivers/usb/input/hid-tmff.c
/var/www/localhost/htdocs/lxr/source/linux/drivers/usb/input/hid.h

我的lxr.conf
# Configuration file.

# Define typed variable "v", read valueset from file.
variable: v, Version, [/var/www/localhost/htdocs/lxr/source/versions], [/var/www/localhost/htdocs/lxr/source/defversion]

# Define typed variable "a". First value is default.
variable: a, Architecture, (arm, i386)

# Define the base url for the LXR files.
baseurl: http://localhost/lxr/http/

# These are the templates for the HTML heading, directory listing and
# footer, respectively.
htmlhead: /var/www/localhost/htdocs/lxr/http/template-head
htmltail: /var/www/localhost/htdocs/lxr/http/template-tail
htmldir: /var/www/localhost/htdocs/lxr/http/template-dir

# The source is here.
sourceroot: /var/www/localhost/htdocs/lxr/source/$v/linux/
srcrootname: Linux

# "#include <foo.h>" is mapped to this directory (in the LXR source
# tree)
incprefix: /include

# The database files go here.
dbdir: /var/www/localhost/htdocs/lxr/source/$v/

# Glimpse can be found here.
glimpsebin: /use/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/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表