aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in20
1 files changed, 16 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 03dd881897c..e951c4f5a71 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -108,6 +108,8 @@ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
108am__v_at_0 = @ 108am__v_at_0 = @
109am__v_at_1 = 109am__v_at_1 =
110 110
111HAVE_NATIVE_COMP = @HAVE_NATIVE_COMP@
112
111# ==================== Where To Install Things ==================== 113# ==================== Where To Install Things ====================
112 114
113# Location to install Emacs.app under GNUstep / macOS. 115# Location to install Emacs.app under GNUstep / macOS.
@@ -330,6 +332,8 @@ CONFIG_STATUS_FILES_IN = \
330COPYDIR = ${srcdir}/etc ${srcdir}/lisp 332COPYDIR = ${srcdir}/etc ${srcdir}/lisp
331COPYDESTS = "$(DESTDIR)${etcdir}" "$(DESTDIR)${lispdir}" 333COPYDESTS = "$(DESTDIR)${etcdir}" "$(DESTDIR)${lispdir}"
332 334
335ELN_DESTDIR = "$(DESTDIR)${libexecdir}/emacs/${version}/${configuration}/"
336
333all: ${SUBDIR} info 337all: ${SUBDIR} info
334 338
335.PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 etc-emacsver 339.PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 etc-emacsver
@@ -423,11 +427,12 @@ VCSWITNESS = $(if $(wildcard $(srcdir)/$(dirstate)),$$(srcdir)/../$(dirstate))
423src: Makefile 427src: Makefile
424ifeq (${ns_self_contained},no) 428ifeq (${ns_self_contained},no)
425 $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' BIN_DESTDIR='$(DESTDIR)${bindir}/' \ 429 $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' BIN_DESTDIR='$(DESTDIR)${bindir}/' \
426 LISP_DESTDIR='$(DESTDIR)${lispdir}/' all 430 ELN_DESTDIR='$(ELN_DESTDIR)' all
427else 431else
428 $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' BIN_DESTDIR='${ns_appbindir}/' \ 432 $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' BIN_DESTDIR='${ns_appbindir}/' \
429 LISP_DESTDIR='$(DESTDIR)${lispdir}/' all 433 ELN_DESTDIR='$(ELN_DESTDIR)' all
430endif 434endif
435
431blessmail: Makefile src 436blessmail: Makefile src
432 $(MAKE) -C lib-src maybe-blessmail 437 $(MAKE) -C lib-src maybe-blessmail
433 438
@@ -466,14 +471,14 @@ $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/m4/*.m4
466# ==================== Installation ==================== 471# ==================== Installation ====================
467 472
468.PHONY: install install-arch-dep install-arch-indep install-etcdoc install-info 473.PHONY: install install-arch-dep install-arch-indep install-etcdoc install-info
469.PHONY: install-man install-etc install-strip install-$(NTDIR) 474.PHONY: install-man install-etc install-strip install-$(NTDIR) install-eln
470.PHONY: uninstall uninstall-$(NTDIR) 475.PHONY: uninstall uninstall-$(NTDIR)
471 476
472## If we let lib-src do its own installation, that means we 477## If we let lib-src do its own installation, that means we
473## don't have to duplicate the list of utilities to install in 478## don't have to duplicate the list of utilities to install in
474## this Makefile as well. 479## this Makefile as well.
475 480
476install: all install-arch-indep install-etcdoc install-arch-dep install-$(NTDIR) blessmail 481install: all install-arch-indep install-etcdoc install-arch-dep install-$(NTDIR) blessmail install-eln
477 @true 482 @true
478 483
479## Ensure that $subdir contains a subdirs.el file. 484## Ensure that $subdir contains a subdirs.el file.
@@ -757,6 +762,12 @@ install-etc:
757 done ; \ 762 done ; \
758 done 763 done
759 764
765### Install native compiled Lisp files.
766install-eln:
767ifeq ($(HAVE_NATIVE_COMP),yes)
768 find eln-cache -type f -exec ${INSTALL_DATA} -D "{}" "$(ELN_DESTDIR){}" \;
769endif
770
760### Build Emacs and install it, stripping binaries while installing them. 771### Build Emacs and install it, stripping binaries while installing them.
761install-strip: 772install-strip:
762 $(MAKE) INSTALL_STRIP=-s install 773 $(MAKE) INSTALL_STRIP=-s install
@@ -867,6 +878,7 @@ clean: $(clean_dirs:=_clean)
867 [ ! -d test ] || $(MAKE) -C test $@ 878 [ ! -d test ] || $(MAKE) -C test $@
868 -rm -f ./*.tmp etc/*.tmp* 879 -rm -f ./*.tmp etc/*.tmp*
869 -rm -rf info-dir.* 880 -rm -rf info-dir.*
881 -rm -rf eln-cache
870 882
871### 'bootclean' 883### 'bootclean'
872### Delete all files that need to be remade for a clean bootstrap. 884### Delete all files that need to be remade for a clean bootstrap.