1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 22:20:52 -08:00
emacs/lib-src
Glenn Morris b8e3b0a9ec Make building in directories with whitespace possible
Make has trouble with targets containing whitespace, 
http://savannah.gnu.org/bugs/?712, so the general approach is
to use relative paths where possible.  It's generally only Emacs
itself that needs absolute paths, eg in src/epaths.h.

* configure.ac (srcdir): Don't make it absolute - abs_srcdir exists.

* Makefile.in (abs_srcdir): New, set by configure.
(buildlisppath): Use abs_srcdir.
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc): Quote entities that might contain whitespace.

* admin/unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el):
Quote entities that might contain whitespace.

* leim/Makefile.in (abs_srcdir): New, set by configure.
(buildlisppath): Use abs_srcdir.
(RUN_EMACS, .el.elc, changed.tit, changed.misc, leim-list.el)
($(srcdir)/ja-dic/ja-dic.el, setwins, distclean, check-declare):
Quote entities that might contain whitespace.

* lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
Quote entities that might contain whitespace.

* lisp/Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
(emacs, compile, compile-always):
Quote entities that might contain whitespace.
(custom-deps, finder-data, autoloads): Use abs_lisp.
($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.

* nextstep/Makefile.in (${ns_check_file} ${ns_appdir}):
Quote entities that might contain whitespace.

* nt/Makefile.in ($(DESTDIR)${archlibdir}):
Quote entities that might contain whitespace.

* src/Makefile.in (RUN_TEMACS): Make relative (again).
($(leimdir)/leim-list.el, .el.elc, $(lispsource)/loaddefs.el)
(bootstrap-emacs$(EXEEXT)):
Quote entities that might contain whitespace.

* test/automated/Makefile.in (abs_top_srcdir, top_builddir):
New, set by configure.
(top_srcdir): Remove.
(abs_test, abs_lispsrc): New.
(lisp): No longer absolute.
(emacs, lisp-compile, compile, compile-always):
Quote entities that might contain whitespace.

Fixes: debbugs:15675
2013-10-22 23:22:54 -07:00
..
.gitignore Don't ignore files that are no longer generated 2011-02-13 19:35:05 +01:00
ChangeLog Make building in directories with whitespace possible 2013-10-22 23:22:54 -07:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
ebrowse.c Port to C89. 2013-07-10 16:23:57 -07:00
emacsclient.c Port to C89. 2013-07-10 16:23:57 -07:00
etags.c Prefer plain 'static' to 'static inline'. 2013-07-01 17:33:04 -07:00
grep-changelog Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
hexl.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
make-docfile.c * lib-src/make-docfile.c (search_lisp_doc_at_eol): Use int rather than char 2013-10-09 21:29:30 -04:00
Makefile.in Make building in directories with whitespace possible 2013-10-22 23:22:54 -07:00
makefile.w32-in Revert introduction of isearch-filter-predicates. 2013-08-05 14:05:46 -04:00
movemail.c Fix some minor races in hosts lacking mkostemp. 2013-08-04 09:56:56 -07:00
ntlib.c Fix bugs in update-game-score, on MS-Windows and elsewhere. 2013-08-05 20:09:28 +03:00
ntlib.h Fix bugs in update-game-score, on MS-Windows and elsewhere. 2013-08-05 20:09:28 +03:00
pop.c Port --enable-gcc-warnings to clang. 2013-05-17 22:32:17 -07:00
pop.h Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
profile.c A simpler, centralized INLINE. 2013-09-20 08:34:36 -07:00
rcs2log Add 2013 to more copyright years 2013-01-02 17:35:49 -08:00
README
test-distrib.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
testfile
update-game-score.c Fix bugs in update-game-score, on MS-Windows and elsewhere. 2013-08-05 20:09:28 +03:00
update-game-score.exe.manifest Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.