Re: [PATCH] Bugfix: undefined htmldir in config.mak.autogen

2013-02-20 Thread Stefano Lattarini
On 02/20/2013 11:42 AM, Jiang Xin wrote: > 2013/2/20 Stefano Lattarini : >> On 02/20/2013 02:39 AM, Jiang Xin wrote: >>> >>> [SNIP] >>> >>> I am not familiar with autoconf. After clone autoconf and check, >>> I cannot find a neat way to change "htmldir" default location to >>> use ${datarootdir} (

Re: [PATCH] Bugfix: undefined htmldir in config.mak.autogen

2013-02-20 Thread Jiang Xin
2013/2/20 Stefano Lattarini : > On 02/20/2013 02:39 AM, Jiang Xin wrote: >> >> [SNIP] >> >> I am not familiar with autoconf. After clone autoconf and check, >> I cannot find a neat way to change "htmldir" default location to >> use ${datarootdir} (just like mandir). >> > This one-line change shoul

Re: [PATCH] Bugfix: undefined htmldir in config.mak.autogen

2013-02-20 Thread John Keeping
On Tue, Feb 19, 2013 at 03:40:16PM -0800, Junio C Hamano wrote: > I am not sure if such a layout can be actually used for installing, > though. Didn't we see some issues around the relativeness of > htmldir and mandir vs passing them down to Documentation/Makefile, > or is it not an issue when ./c

Re: [PATCH] Bugfix: undefined htmldir in config.mak.autogen

2013-02-20 Thread Stefano Lattarini
On 02/20/2013 02:39 AM, Jiang Xin wrote: > > [SNIP] > > I am not familiar with autoconf. After clone autoconf and check, > I cannot find a neat way to change "htmldir" default location to > use ${datarootdir} (just like mandir). > This one-line change should be enough to do what you want: diff

Re: [PATCH] Bugfix: undefined htmldir in config.mak.autogen

2013-02-19 Thread Jiang Xin
2013/2/20 Junio C Hamano : > Junio C Hamano writes: >>> After the installation, all the html documents will copy to rootdir (/), >>> and: >>> >>> $ git --html-path >>> >>> >>> $ git help -w something >>> fatal: '': not a documentation directory. >> >> I am not sure if this descrip

Re: [PATCH] Bugfix: undefined htmldir in config.mak.autogen

2013-02-19 Thread Junio C Hamano
Junio C Hamano writes: > Jiang Xin writes: > >> Html documents will be installed to root dir (/) no matter what prefix >> is set, if run these commands before `make` and `make install-html`: >> >> $ make configure >> $ ./configure --prefix= >> >> After the installation, all the html docu

Re: [PATCH] Bugfix: undefined htmldir in config.mak.autogen

2013-02-19 Thread Junio C Hamano
Jiang Xin writes: > Html documents will be installed to root dir (/) no matter what prefix > is set, if run these commands before `make` and `make install-html`: > > $ make configure > $ ./configure --prefix= > > After the installation, all the html documents will copy to rootdir (/), > a

Re: [PATCH] Bugfix: undefined htmldir in config.mak.autogen

2013-02-19 Thread Junio C Hamano
Jiang Xin writes: > Html documents will be installed to root dir (/) no matter what prefix > is set, if run these commands before `make` and `make install-html`: > > $ make configure > $ ./configure --prefix= > > After the installation, all the html documents will copy to rootdir (/), > a

[PATCH] Bugfix: undefined htmldir in config.mak.autogen

2013-02-19 Thread Jiang Xin
Html documents will be installed to root dir (/) no matter what prefix is set, if run these commands before `make` and `make install-html`: $ make configure $ ./configure --prefix= After the installation, all the html documents will copy to rootdir (/), and: $ git --html-path