* bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in
@ 2012-06-18 22:47 Rob Browning
2012-06-19 2:10 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Rob Browning @ 2012-06-18 22:47 UTC (permalink / raw)
To: 11737
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in
2012-06-18 22:47 bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in Rob Browning
@ 2012-06-19 2:10 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2012-06-19 2:10 UTC (permalink / raw)
To: 11737-done
Version: 24.2
I renamed $infodir to $buildinfodir in doc/*/Makefile.in, since it has
no relation to the $infodir used by install.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-19 2:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18 22:47 bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in Rob Browning
2012-06-19 2:10 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.