summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-16 18:29:29 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-16 18:29:29 +0000
commit3163d9cfa1a78860db33261ff9338a40887f90c1 (patch)
tree26601874efa8043e2f6e7819c70b40fb78dacf95 /Makefile.in
parent734c9829fed2a81956aee57022331d600fa98076 (diff)
downloademacs-3163d9cfa1a78860db33261ff9338a40887f90c1.tar.gz
(paths-force): Store PATH_X_DEFAULTS in paths.h.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 9c908044017..15c197cc342 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -113,6 +113,9 @@ srcdir=@srcdir@
# Tell make where to find source files; this is needed for the makefiles.
VPATH=@srcdir@
+# Where to find the application default.
+x_default_search_path=@x_default_search_path@
+
# ==================== Emacs-specific directories ====================
# These variables hold the values Emacs will actually use. They are
@@ -204,6 +207,7 @@ removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g'
paths-force: FRC
@(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
+ x_default_search_path=`echo ${x_default_search_path}`; \
sed < ${srcdir}/src/paths.in > paths.h.$$$$ \
-e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
-e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
@@ -211,6 +215,7 @@ paths-force: FRC
-e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
-e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
-e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \
+ -e 's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \
-e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \
${srcdir}/move-if-change paths.h.$$$$ src/paths.h