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
commit9ba6d2a75b5a4a52fe0c5478ffadb90df9771980 (patch)
tree8644fa3c2397e1fa9bf8140a9ca9ad5a69a75136 /Makefile.in
parentb259f323affd3aac5fe816494608e11f7df3dacc (diff)
downloademacs-9ba6d2a75b5a4a52fe0c5478ffadb90df9771980.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