mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
Quote BIN_DESTDIR better
* Makefile.in (BIN_DESTDIR, install-eln, uninstall): * src/Makefile.in ($(pdmp)): Be more consistent about quoting BIN_DESTDIR and ELN_DESTDIR, avoiding double-quoting ''like this'' which does not work as expected.
This commit is contained in:
parent
a86c25c91f
commit
a826296cff
10
Makefile.in
10
Makefile.in
@ -361,10 +361,10 @@ COPYDIR = ${srcdir}/etc ${srcdir}/lisp
|
||||
COPYDESTS = "$(DESTDIR)${etcdir}" "$(DESTDIR)${lispdir}"
|
||||
|
||||
ifeq (${ns_self_contained},no)
|
||||
BIN_DESTDIR='$(DESTDIR)${bindir}/'
|
||||
BIN_DESTDIR = $(DESTDIR)${bindir}/
|
||||
ELN_DESTDIR = $(DESTDIR)${libdir}/emacs/${version}/
|
||||
else
|
||||
BIN_DESTDIR='${ns_appbindir}/'
|
||||
BIN_DESTDIR = ${ns_appbindir}/
|
||||
ELN_DESTDIR = ${ns_applibdir}/
|
||||
endif
|
||||
|
||||
@ -915,8 +915,8 @@ install-etc:
|
||||
install-eln: lisp
|
||||
ifeq ($(HAVE_NATIVE_COMP),yes)
|
||||
umask 022 ; \
|
||||
find native-lisp -type d -exec $(MKDIR_P) "$(ELN_DESTDIR){}" \; ; \
|
||||
find native-lisp -type f -exec ${INSTALL_ELN} "{}" "$(ELN_DESTDIR){}" \;
|
||||
find native-lisp -type d -exec $(MKDIR_P) '$(ELN_DESTDIR){}' \; ; \
|
||||
find native-lisp -type f -exec ${INSTALL_ELN} '{}' '$(ELN_DESTDIR){}' \;
|
||||
endif
|
||||
|
||||
### Build Emacs and install it, stripping binaries while installing them.
|
||||
@ -931,7 +931,7 @@ uninstall: uninstall-$(NTDIR) uninstall-doc uninstall-gsettings-schemas
|
||||
rm -f "$(DESTDIR)$(includedir)/emacs-module.h"
|
||||
$(MAKE) -C lib-src uninstall
|
||||
-unset CDPATH; \
|
||||
for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" "$(ELN_DESTDIR)" ; do \
|
||||
for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" '$(ELN_DESTDIR)' ; do \
|
||||
if [ -d "$${dir}" ]; then \
|
||||
case `cd "$${dir}" ; pwd -P` in \
|
||||
"`cd ${srcdir} ; pwd -P`"* ) ;; \
|
||||
|
@ -682,7 +682,7 @@ endif
|
||||
ifeq ($(DUMPING),pdumper)
|
||||
$(pdmp): emacs$(EXEEXT) $(lispsource)/loaddefs.el $(lispsource)/loaddefs.elc
|
||||
LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \
|
||||
--bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR)
|
||||
--bin-dest '$(BIN_DESTDIR)' --eln-dest '$(ELN_DESTDIR)'
|
||||
cp -f $@ $(bootstrap_pdmp)
|
||||
endif
|
||||
|
||||
@ -975,7 +975,7 @@ NATIVE_COMPILATION_AOT = @NATIVE_COMPILATION_AOT@
|
||||
find $@ -name '*.eln' | rebase -v -O -T -; \
|
||||
fi; \
|
||||
LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \
|
||||
--bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \
|
||||
--bin-dest '$(BIN_DESTDIR)' --eln-dest '$(ELN_DESTDIR)' \
|
||||
&& cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \
|
||||
&& cp -f $(pdmp) $(bootstrap_pdmp); \
|
||||
if test $(NATIVE_COMPILATION_AOT) = yes; then \
|
||||
@ -1014,7 +1014,7 @@ ifeq ($(DUMPING),pdumper)
|
||||
$(bootstrap_pdmp): bootstrap-emacs$(EXEEXT)
|
||||
rm -f $@
|
||||
$(RUN_TEMACS) --batch $(BUILD_DETAILS) -l loadup --temacs=pbootstrap \
|
||||
--bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR)
|
||||
--bin-dest '$(BIN_DESTDIR)' --eln-dest '$(ELN_DESTDIR)'
|
||||
@: Compile some files earlier to speed up further compilation.
|
||||
@: First, byte compile these files, ....
|
||||
ANCIENT=yes $(MAKE) -C ../lisp compile-first EMACS="$(bootstrap_exe)"
|
||||
|
Loading…
Reference in New Issue
Block a user