emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 1dce1b2 1/2: Install emacs-module.h (Bug#31929)


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 1dce1b2 1/2: Install emacs-module.h (Bug#31929)
Date: Tue, 16 Oct 2018 11:45:29 -0400 (EDT)

branch: emacs-26
commit 1dce1b2ffb67907afff2cac62bb05361dac815e4
Author: Philipp Stephani <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Install emacs-module.h (Bug#31929)
    
    * Makefile.in (includedir): New variable.
    (install-arch-indep): Install emacs-module.h.
    (uninstall): Uninstall emacs-module.h.
    
    (cherry picked from commit 00ea749f2af44bff6ea8c1259477fbf0ead8a306)
---
 Makefile.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile.in b/Makefile.in
index 19bf7c4..7749818 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -151,6 +151,9 @@ address@hidden@
 # Currently only used for the systemd service file.
 address@hidden@
 
+# Where to install emacs-module.h.
address@hidden@
+
 # Where to install Emacs's man pages.
 # Note they contain cross-references that expect them to be in section 1.
 address@hidden@
@@ -558,6 +561,8 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} 
$${USER} \
 ## 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}
+       umask 022 && $(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    \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]