diff options
| author | Glenn Morris | 2015-06-23 16:44:07 -0400 |
|---|---|---|
| committer | Glenn Morris | 2015-06-23 16:44:07 -0400 |
| commit | 8769d0fe79dda776652c3bf342263568bbd7623b (patch) | |
| tree | 7a23c1e2db04864839e1a54a49f001176681bd00 | |
| parent | c7a19e0c80ec6134ab6fb1950d3e1ac59a7b986f (diff) | |
| download | emacs-8769d0fe79dda776652c3bf342263568bbd7623b.tar.gz emacs-8769d0fe79dda776652c3bf342263568bbd7623b.zip | |
* Makefile.in (install-arch-dep): Simplify with Make conditionals.
| -rw-r--r-- | Makefile.in | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in index 63e17c32937..c998d8d87a3 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -492,18 +492,17 @@ write_subdir=if [ -f "$${subdir}/subdirs.el" ]; \ | |||
| 492 | install-arch-dep: src install-arch-indep install-etcdoc install-$(NTDIR) | 492 | install-arch-dep: src install-arch-indep install-etcdoc install-$(NTDIR) |
| 493 | umask 022; ${MKDIR_P} "$(DESTDIR)${bindir}" | 493 | umask 022; ${MKDIR_P} "$(DESTDIR)${bindir}" |
| 494 | $(MAKE) -C lib-src install | 494 | $(MAKE) -C lib-src install |
| 495 | if test "${ns_self_contained}" = "no"; then \ | 495 | ifeq (${ns_self_contained},no) |
| 496 | ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} "$(DESTDIR)${bindir}/$(EMACSFULL)" || exit 1 ; \ | 496 | ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} "$(DESTDIR)${bindir}/$(EMACSFULL)" |
| 497 | chmod 1755 "$(DESTDIR)${bindir}/$(EMACSFULL)" || true; \ | 497 | -chmod 1755 "$(DESTDIR)${bindir}/$(EMACSFULL)" |
| 498 | if test "x${NO_BIN_LINK}" = x; then \ | 498 | ifndef NO_BIN_LINK |
| 499 | rm -f "$(DESTDIR)${bindir}/$(EMACS)" ; \ | 499 | rm -f "$(DESTDIR)${bindir}/$(EMACS)" |
| 500 | cd "$(DESTDIR)${bindir}" && $(LN_S_FILEONLY) $(EMACSFULL) $(EMACS); \ | 500 | cd "$(DESTDIR)${bindir}" && $(LN_S_FILEONLY) $(EMACSFULL) $(EMACS) |
| 501 | fi; \ | 501 | endif |
| 502 | else \ | 502 | else |
| 503 | subdir=${ns_appresdir}/site-lisp; \ | 503 | subdir=${ns_appresdir}/site-lisp && ${write_subdir} |
| 504 | ${write_subdir} || exit 1; \ | 504 | rm -rf ${ns_appresdir}/share |
| 505 | rm -rf ${ns_appresdir}/share; \ | 505 | endif |
| 506 | fi | ||
| 507 | 506 | ||
| 508 | ### Windows-specific install target for installing programs produced | 507 | ### Windows-specific install target for installing programs produced |
| 509 | ### in nt/, and its Posix do-nothing shadow. | 508 | ### in nt/, and its Posix do-nothing shadow. |