From: Philipp Stephani <p.stephani2@gmail.com>
To: 31929@debbugs.gnu.org
Cc: Philipp Stephani <phst@google.com>
Subject: bug#31929: [PATCH] Install emacs-module.h (Bug#31929)
Date: Fri, 21 Sep 2018 15:27:48 +0200 [thread overview]
Message-ID: <20180921132748.95945-1-phst@google.com> (raw)
In-Reply-To: <CAFyQvY285hB6=UX0a99AUiHstoprejZ3XxKzrXZ6ky-wG8kaNg@mail.gmail.com>
* Makefile.in (includedir): New variable.
(install-arch-indep): Install emacs-module.h.
(uninstall): Uninstall emacs-module.h.
---
Makefile.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Makefile.in b/Makefile.in
index 19bf7c423f..5346429264 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -151,6 +151,9 @@ libexecdir=
# Currently only used for the systemd service file.
libdir=@libdir@
+# Where to install emacs-module.h.
+includedir=@includedir@
+
# Where to install Emacs's man pages.
# Note they contain cross-references that expect them to be in section 1.
mandir=@mandir@
@@ -558,6 +561,8 @@ set_installuser=
## See also these comments from 2004 about cp -r working fine:
## https://lists.gnu.org/r/autoconf-patches/2004-11/msg00005.html
install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA}
+ $(MKDIR_P) -m 0755 $(includedir)
+ $(INSTALL_DATA) src/emacs-module.h $(includedir)/emacs-module.h
-set ${COPYDESTS} ; \
unset CDPATH; \
$(set_installuser); \
@@ -741,6 +746,7 @@ install-strip:
###
### Don't delete the lisp and etc directories if they're in the source tree.
uninstall: uninstall-$(NTDIR) uninstall-doc
+ rm -f $(includedir)/emacs-module.h
$(MAKE) -C lib-src uninstall
-unset CDPATH; \
for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" ; do \
--
2.19.0
next prev parent reply other threads:[~2018-09-21 13:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-21 16:04 bug#31929: 27.0.50; Have make install copy the emacs-module.h to the destination install dir Kaushal Modi
2018-09-21 13:27 ` Philipp Stephani [this message]
2018-09-21 13:45 ` bug#31929: [PATCH] Install emacs-module.h (Bug#31929) Eli Zaretskii
2018-09-21 16:56 ` Philipp Stephani
2018-09-21 15:36 ` Glenn Morris
2018-09-21 16:57 ` Philipp Stephani
2018-10-03 20:02 ` Philipp Stephani
2018-10-03 20:51 ` Glenn Morris
2018-10-06 10:19 ` Eli Zaretskii
2018-10-15 20:04 ` Glenn Morris
2018-10-16 2:29 ` Eli Zaretskii
2018-10-04 16:16 ` Eli Zaretskii
[not found] ` <handler.31929.D31929.153859694712784.notifdone@debbugs.gnu.org>
2018-10-03 20:27 ` bug#31929: closed (Re: [PATCH] Install emacs-module.h (Bug#31929)) Kaushal Modi
2018-10-03 20:49 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180921132748.95945-1-phst@google.com \
--to=p.stephani2@gmail.com \
--cc=31929@debbugs.gnu.org \
--cc=phst@google.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).