Bill Allombert on Mon, 07 Apr 2014 22:27:20 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PATCH 1/2] build: stop misplacing documentation


On Wed, Feb 05, 2014 at 04:10:56AM +0100, Jan Engelhardt wrote:
> docdir must not be statically set as it would override what the
> user gave to ./configure --docdir=...
> ---
>  doc/Makefile.am | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/doc/Makefile.am b/doc/Makefile.am
> index ccaf3a7..f710a4d 100644
> --- a/doc/Makefile.am
> +++ b/doc/Makefile.am
> @@ -1,5 +1,4 @@
>  all: 
> -docdir=$(datadir)/doc
>  pkgdocdir=$(docdir)/$(PACKAGE)
>  man_MANS = gp2c.1 gp2c-run.1 $(GP2C_DBG1)
>  EXTRA_MANS = gp2c-dbg.1
> -- 

Actually your patch causes the documentation to be misplaced: it gets installed in
$(datadir)/doc/$(PACKAGE)/$(PACKAGE) instead of $(datadir)/doc/$(PACKAGE).

Cheers,
Bill