diff options
| author | Glenn Morris | 2018-10-03 16:47:01 -0400 |
|---|---|---|
| committer | Glenn Morris | 2018-10-03 16:47:01 -0400 |
| commit | c1d0dbd6ca92cb221024382b19654e4fbf1d1ed3 (patch) | |
| tree | 671410fa71ca5762893bb8ef4e3bd5767c5a0085 | |
| parent | 00ea749f2af44bff6ea8c1259477fbf0ead8a306 (diff) | |
| download | emacs-c1d0dbd6ca92cb221024382b19654e4fbf1d1ed3.tar.gz emacs-c1d0dbd6ca92cb221024382b19654e4fbf1d1ed3.zip | |
Tweak Makefile emacs-module.h handling
* Makefile.in (install-arch-indep, uninstall): Respect DESTDIR.
Handle whitespace. Remove non-portable mkdir argument.
| -rw-r--r-- | Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index e10fdc3bd69..d8d345e8059 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -563,8 +563,8 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \ | |||
| 563 | ## See also these comments from 2004 about cp -r working fine: | 563 | ## See also these comments from 2004 about cp -r working fine: |
| 564 | ## https://lists.gnu.org/r/autoconf-patches/2004-11/msg00005.html | 564 | ## https://lists.gnu.org/r/autoconf-patches/2004-11/msg00005.html |
| 565 | install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA} | 565 | install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA} |
| 566 | umask 022 && $(MKDIR_P) -m 0755 $(includedir) | 566 | umask 022 && $(MKDIR_P) "$(DESTDIR)$(includedir)" |
| 567 | $(INSTALL_DATA) src/emacs-module.h $(includedir)/emacs-module.h | 567 | $(INSTALL_DATA) src/emacs-module.h "$(DESTDIR)$(includedir)/emacs-module.h" |
| 568 | -set ${COPYDESTS} ; \ | 568 | -set ${COPYDESTS} ; \ |
| 569 | unset CDPATH; \ | 569 | unset CDPATH; \ |
| 570 | $(set_installuser); \ | 570 | $(set_installuser); \ |
| @@ -748,7 +748,7 @@ install-strip: | |||
| 748 | ### | 748 | ### |
| 749 | ### 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. |
| 750 | uninstall: uninstall-$(NTDIR) uninstall-doc | 750 | uninstall: uninstall-$(NTDIR) uninstall-doc |
| 751 | rm -f $(includedir)/emacs-module.h | 751 | rm -f "$(DESTDIR)$(includedir)/emacs-module.h" |
| 752 | $(MAKE) -C lib-src uninstall | 752 | $(MAKE) -C lib-src uninstall |
| 753 | -unset CDPATH; \ | 753 | -unset CDPATH; \ |
| 754 | for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" ; do \ | 754 | for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" ; do \ |