From: Eli Zaretskii <eliz@gnu.org>
To: daanturo <daanturo@gmail.com>
Cc: 59503@debbugs.gnu.org
Subject: bug#59503: 28.2.50; cannot set --mandir when installing
Date: Wed, 23 Nov 2022 15:54:48 +0200 [thread overview]
Message-ID: <83a64hzsgn.fsf@gnu.org> (raw)
In-Reply-To: <dbf25651-d75e-a7cb-5488-544af4b2907b@gmail.com> (message from daanturo on Wed, 23 Nov 2022 12:11:55 +0700)
> Date: Wed, 23 Nov 2022 12:11:55 +0700
> From: daanturo <daanturo@gmail.com>
>
> Despite having set --prefix and/or --mandir to a writable directory in
> my $HOME, `make install` always throws me this:
>
> /usr/bin/mkdir: cannot create directory ‘/usr/local/share/man/man1’: Permission denied
Please show the complete Makefile from the top-level directory of the tree
where you built Emacs.
AFAICT, the command to create that directory is
umask 022; ${MKDIR_P} "$(DESTDIR)${man1dir}"
and ${man1dir} is determined as follows:
datarootdir=${prefix}/share
mandir=${datarootdir}/man
man1dir=$(mandir)/man1
So if you set prefix to some directory, man pages should be installed in the
share/man/man1 subdirectory of that directory, not in
/usr/local/share/man/man1. Something's amiss here.
next prev parent reply other threads:[~2022-11-23 13:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 5:11 bug#59503: 28.2.50; cannot set --mandir when installing daanturo
2022-11-23 13:54 ` Eli Zaretskii [this message]
2022-11-23 15:20 ` daanturo
2022-11-23 16:45 ` Eli Zaretskii
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=83a64hzsgn.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=59503@debbugs.gnu.org \
--cc=daanturo@gmail.com \
/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.