From: Rob Browning <rlb@defaultvalue.org>
To: 11737@debbugs.gnu.org
Subject: bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in
Date: Mon, 18 Jun 2012 17:47:26 -0500 [thread overview]
Message-ID: <87wr34nsox.fsf@trouble.defaultvalue.org> (raw)
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
next reply other threads:[~2012-06-18 22:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-18 22:47 Rob Browning [this message]
2012-06-19 2:10 ` bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wr34nsox.fsf@trouble.defaultvalue.org \
--to=rlb@defaultvalue.org \
--cc=11737@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.