aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Stephani2018-09-20 14:03:29 +0200
committerPhilipp Stephani2018-10-03 22:00:14 +0200
commit00ea749f2af44bff6ea8c1259477fbf0ead8a306 (patch)
treea2958c80d55ad6781ca166b9c1943b5128e07c6d
parent43a8494babaeec60464e11c46c2ebfc993179d72 (diff)
downloademacs-00ea749f2af44bff6ea8c1259477fbf0ead8a306.tar.gz
emacs-00ea749f2af44bff6ea8c1259477fbf0ead8a306.zip
Install emacs-module.h (Bug#31929)
* Makefile.in (includedir): New variable. (install-arch-indep): Install emacs-module.h. (uninstall): Uninstall emacs-module.h.
-rw-r--r--Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index c6b2cfa78af..e10fdc3bd69 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -151,6 +151,9 @@ libexecdir=@libexecdir@
151# Currently only used for the systemd service file. 151# Currently only used for the systemd service file.
152libdir=@libdir@ 152libdir=@libdir@
153 153
154# Where to install emacs-module.h.
155includedir=@includedir@
156
154# Where to install Emacs's man pages. 157# Where to install Emacs's man pages.
155# Note they contain cross-references that expect them to be in section 1. 158# Note they contain cross-references that expect them to be in section 1.
156mandir=@mandir@ 159mandir=@mandir@
@@ -560,6 +563,8 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \
560## See also these comments from 2004 about cp -r working fine: 563## See also these comments from 2004 about cp -r working fine:
561## https://lists.gnu.org/r/autoconf-patches/2004-11/msg00005.html 564## https://lists.gnu.org/r/autoconf-patches/2004-11/msg00005.html
562install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA} 565install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA}
566 umask 022 && $(MKDIR_P) -m 0755 $(includedir)
567 $(INSTALL_DATA) src/emacs-module.h $(includedir)/emacs-module.h
563 -set ${COPYDESTS} ; \ 568 -set ${COPYDESTS} ; \
564 unset CDPATH; \ 569 unset CDPATH; \
565 $(set_installuser); \ 570 $(set_installuser); \
@@ -743,6 +748,7 @@ install-strip:
743### 748###
744### Don't delete the lisp and etc directories if they're in the source tree. 749### Don't delete the lisp and etc directories if they're in the source tree.
745uninstall: uninstall-$(NTDIR) uninstall-doc 750uninstall: uninstall-$(NTDIR) uninstall-doc
751 rm -f $(includedir)/emacs-module.h
746 $(MAKE) -C lib-src uninstall 752 $(MAKE) -C lib-src uninstall
747 -unset CDPATH; \ 753 -unset CDPATH; \
748 for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" ; do \ 754 for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" ; do \