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 --git

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

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

2013-02-20 Thread Jiang Xin
2013/2/20 Stefano Lattarini stefano.lattar...@gmail.com: 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

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 stefano.lattar...@gmail.com: 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

[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=PREFIX After the installation, all the html documents will copy to rootdir (/), and: $ git --html-path

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

2013-02-19 Thread Junio C Hamano
Jiang Xin worldhello@gmail.com 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=PREFIX After the installation, all the html documents will

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

2013-02-19 Thread Junio C Hamano
Jiang Xin worldhello@gmail.com 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=PREFIX After the installation, all the html documents will

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

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