|
发表于 2003-5-25 11:24:59
|
显示全部楼层
my installation:
-----------------------
the lxr.conf file
variable: v, Version, [/home/httpd/htdocs/lxr/source/versions],[/home/httpd/htdocs/lxr/source/defversion]
variable: a, Architecture, (i386, alpha, m68k, mips, ppc, sparc, sparc64)
baseurl: http://localhost/lxr/http/
htmlhead: /home/httpd/htdocs/lxr/http/template-head
htmltail: /home/httpd/htdocs/lxr/http/template-tail
htmldir: /home/httpd/htdocs/lxr/http/template-dir
sourceroot: /home/httpd/htdocs/lxr/source/$v/
srcrootname: DragonflyLinuxKernelSouceStudy
incprefix: /include
dbdir: /home/httpd/htdocs/lxr/source/$v
glimpsebin: /usr/bin/glimpse
map: /include/asm[^\/]*/ /include/asm-$a/
map: /arch/[^\/]+/ /arch/$a/
---------------------------------------
dragonfly / # ls /home/httpd/htdocs/lxr/source/ -l
total 10
drwxr-xr-x 14 573 573 856 May 5 17:49 2.4.20
drwxr-xr-x 14 root root 856 May 5 18:04 2.4.20c
-rw-r--r-- 1 root root 8 May 5 12:18 defversion
-rw-r--r-- 1 root root 15 May 5 16:45 versions
-------------------------------------------
dragonfly / # more /home/httpd/htdocs/lxr/source/versions
2.4.20
2.4.20c
--------------------------------------------
dragonfly / # more /home/httpd/htdocs/lxr/source/defversion
2.4.20
---------------------------------------------
dragonfly / # ls /home/httpd/htdocs/lxr/http/ -l
total 65
-rw-r--r-- 1 root root 4305 May 5 11:22 blurb.html
-rwxr-xr-x 1 root root 5121 May 5 11:47 diff
-rwxr-xr-x 1 root root 2016 May 5 11:47 find
-rwxr-xr-x 1 root root 4016 May 5 17:43 ident
drwxr-xr-x 3 root root 104 May 5 11:22 lib
-rw-r--r-- 1 root root 1284 May 6 20:33 lxr.conf
-rwxr-xr-x 1 root root 3597 May 5 11:47 search
-rw-r--r-- 1 root root 5813 May 5 11:22 search_help.html
-rwxr-xr-x 1 root root 5475 May 5 11:48 source
-rw-r--r-- 1 root root 396 May 5 11:22 template-dir
-rw-r--r-- 1 root root 489 May 5 11:22 template-head
-rw-r--r-- 1 root root 264 May 5 11:22 template-tail
-rw-r--r-- 1 root root 230 May 5 11:22 valid_html3.2.gif
basically u only need change the installation dir will work. i also change the http.conf base on that doc. |
|