[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in
From: |
Rob Browning |
Subject: |
bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in |
Date: |
Mon, 18 Jun 2012 17:47:26 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
It looks like there may be a problem with the interaction between
DESTDIR and infodir in 24.1. You can see the problem by running
something like this after a configure and make:
make DESTDIR=/some/where infodir=/forbidden/place/ install
Assuming you don't have access to /forbidden/, the install process will
fail in doc/misc here:
mkinfodir = @cd ${srcdir}; test -d ${infodir} || mkdir ${infodir} || test -d
${infodir}
because the infodir setting (without modification by DESTDIR) will be
passed down from ./Makefile.in and override the doc/misc/Makefile.in
setting:
infodir=../../info
I would guess that either doc/misc/Makefile.in should respect DESTDIR,
or this bit of ./Makefile.in:
info-real:
(cd doc/misc; $(MAKE) $(MFLAGS) info)
should either unset infodir before calling $(MAKE), or should specify an
infodir that respects DESTDIR.
Hope this helps.
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
- bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in,
Rob Browning <=