[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-devel] [PATCH] Do not override docdir
From: |
Albert Chu |
Subject: |
Re: [Freeipmi-devel] [PATCH] Do not override docdir |
Date: |
Tue, 06 Mar 2012 10:31:48 -0800 |
Hey Thomas,
I wasn't aware of docdir in newer autotools. I suppose the previous
stuff is legacy support or just support from very early on. I've
applied the patch. It'll be in the next release of FreeIPMI.
Al
On Tue, 2012-03-06 at 08:25 -0800, Thomas Renninger wrote:
> Hi,
>
> ./configure --docdir= seem to be broken.
> Below fixes things for me.
> Please consider to apply.
>
> I am not subscribed on the freeipmi-devel list, please
> add me to CC.
>
> Thanks,
>
> Thomas
>
> ---
> From: Thomas Renninger <address@hidden>
>
> Do not override docdir
>
> ./configure --docdir=
> does not work. Simply removing the override
> makes it use the default docdir.
> Also use $docdir in subfolders.
>
> Signed-off-by: Thomas Renninger <address@hidden>
> ---
> Makefile.am | 1 -
> contrib/Makefile.am | 8 ++++----
> doc/Makefile.am | 2 --
> 3 files changed, 4 insertions(+), 7 deletions(-)
>
> Index: contrib/Makefile.am
> ===================================================================
> --- contrib/Makefile.am.orig
> +++ contrib/Makefile.am
> @@ -1,22 +1,22 @@
> -ganglia_docdir = $(datadir)/doc/$(PACKAGE)/contrib/ganglia
> +ganglia_docdir = $(docdir)/contrib/ganglia
>
> ganglia_doc_DATA = \
> ganglia/README \
> ganglia/ganglia_ipmi_sensors.pl
>
> -libipmimonitoring_docdir =
> $(datadir)/doc/$(PACKAGE)/contrib/libipmimonitoring
> +libipmimonitoring_docdir = $(docdir)/contrib/libipmimonitoring
>
> libipmimonitoring_doc_DATA = \
> libipmimonitoring/ipmimonitoring-sel.c \
> libipmimonitoring/ipmimonitoring-sensors.c
>
> -nagios_docdir = $(datadir)/doc/$(PACKAGE)/contrib/nagios
> +nagios_docdir = $(docdir)/contrib/nagios
>
> nagios_doc_DATA = \
> nagios/README \
> nagios/nagios_ipmi_sensors.pl
>
> -pet_docdir = $(datadir)/doc/$(PACKAGE)/contrib/pet
> +pet_docdir = $(docdir)/contrib/pet
>
> pet_doc_DATA = \
> pet/README \
> Index: Makefile.am
> ===================================================================
> --- Makefile.am.orig
> +++ Makefile.am
> @@ -79,7 +79,6 @@ EXTRA = \
> DISCLAIMER.ipmidetect.UC \
> DISCLAIMER.ipmi-fru.UC
>
> -docdir = $(datadir)/doc/$(PACKAGE)
> doc_DATA = $(EXTRA)
>
> CLEANFILES =
> Index: doc/Makefile.am
> ===================================================================
> --- doc/Makefile.am.orig
> +++ doc/Makefile.am
> @@ -13,8 +13,6 @@ EXTRA_DIST = \
> freeipmi-bugs-issues-and-workarounds.txt \
> freeipmi-oem-documentation-requirements.txt
>
> -docdir = $(datadir)/doc/$(PACKAGE)
> -
> doc_DATA = $(EXTRA_DIST)
>
>
>
> _______________________________________________
> Freeipmi-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/freeipmi-devel
--
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory